Skip to content

Commit

Permalink
Fix resetting positions and convergence calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
milcktoast committed Jun 17, 2017
1 parent ccb2976 commit eef49d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/clm.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,8 @@ var clm = {
this.reset = function() {
first = true;
scoringHistory = [];
currentPositions = [];
previousPositions = [];
for (var i = 0;i < currentParameters.length;i++) {
currentParameters[i] = 0;
previousParameters = [];
Expand Down

0 comments on commit eef49d2

Please sign in to comment.