Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gnh1201 committed Nov 14, 2024
1 parent b98901c commit 5e1f41b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ var console = {
}
}

var message = type + ": " + messages.join(' ');
var message = messages.join(' ');
if (typeof type !== "undefined") {
message = type + ": " + message;
}
this._echoDefault(message);
this._messages.push(message);

Expand Down
4 changes: 2 additions & 2 deletions app/assets/js/numbers-0.7.0.wsh.js
Original file line number Diff line number Diff line change
Expand Up @@ -1471,8 +1471,8 @@ matrix.determinant = function (m) {
while (numberOfAddedRows < numRow - 1) {
newArray.push(m[numberOfAddedRows + 1].slice(0, indexColumn).concat(m[numberOfAddedRows + 1].slice(indexColumn + 1)));
numberOfAddedRows++;
}
}
result += Math.pow(-1, indexColumn) * m[0][indexColumn] * matrix.determinant(newArray);
indexColumn++;
}
Expand Down

0 comments on commit 5e1f41b

Please sign in to comment.