Skip to content

Commit

Permalink
refactor: remove dead code from complexEigs.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gwhitney committed Oct 6, 2023
1 parent c53a943 commit d68b284
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/function/matrix/eigs/complexEigs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ export function createComplexEigs ({ addScalar, subtract, flatten, multiply, mul
*
* @returns {{ values: number[], vectors: number[][] }}
*/
function complexEigs (arr, N, prec, type, findVectors) {
if (findVectors === undefined) {
findVectors = true
}

function complexEigs (arr, N, prec, type, findVectors = true) {
// TODO check if any row/col are zero except the diagonal

// make sure corresponding rows and columns have similar magnitude
Expand Down

0 comments on commit d68b284

Please sign in to comment.