Fix missing type in simplex.ts
This commit is contained in:
parent
10260d3811
commit
cb8ebb7ff4
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ function ApplyMainLoop(oldMatrix: number[][], rowlength: number): number[][] {
|
||||||
const pivotRowIndex = ratios.indexOf(minRatio); // i
|
const pivotRowIndex = ratios.indexOf(minRatio); // i
|
||||||
|
|
||||||
/// Init the new matrix
|
/// Init the new matrix
|
||||||
const newMatrix = structuredClone(matrix);
|
const newMatrix: number[][] = structuredClone(matrix);
|
||||||
const pivot = matrix[pivotRowIndex][pivotColIndex];
|
const pivot = matrix[pivotRowIndex][pivotColIndex];
|
||||||
|
|
||||||
// 3) apply on the pivot row the inverse of the pivot
|
// 3) apply on the pivot row the inverse of the pivot
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue