Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release 1.4.5
  • Loading branch information
trevnorris committed Oct 13, 2015
1 parent 41b42cc commit d29eba9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions dist/jstat.js
Expand Up @@ -2611,9 +2611,11 @@ jStat.extend({
// augment one matrix by another
// Note: this function returns a matrix, not a jStat object
aug: function aug(a, b) {
var newarr = a.slice(),
i = 0;
for (; i < newarr.length; i++) {
var newarr = [];
for (var i = 0; i < a.length; i++) {
newarr.push(a[i].slice());
}
for (var i = 0; i < newarr.length; i++) {
push.apply(newarr[i], b[i]);
}
return newarr;
Expand Down

0 comments on commit d29eba9

Please sign in to comment.