Skip to content

Commit

Permalink
Convert <eigenDecomposition> tests to vitest and fix component so it …
Browse files Browse the repository at this point in the history
…works with updated math.js
  • Loading branch information
cqnykamp committed Nov 29, 2024
1 parent 7af7628 commit 12291ff
Show file tree
Hide file tree
Showing 3 changed files with 610 additions and 504 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export default class EigenDecomposition extends BaseComponent {
let vectorMag = 0;
for (let j = 0; j < arraySize[0]; j++) {
let val =
globalDependencyValues.decomposition.vectors[j][i];
globalDependencyValues.decomposition.eigenvectors[i].vector[j];
vector.push(val);
vectorMag += me.math.square(me.math.abs(val));
}
Expand Down
Loading

0 comments on commit 12291ff

Please sign in to comment.