Skip to content

Commit

Permalink
minor fix in BasisReader.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer2368 committed Feb 17, 2024
1 parent 569a6bd commit 3c88ae3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/linalg/BasisReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ BasisReader::getSpatialBasis(
double time,
int n)
{
return getSpatialBasis(1, n);
return getSpatialBasis(time, 1, n);
}

Matrix*
Expand Down Expand Up @@ -138,7 +138,7 @@ BasisReader::getSpatialBasis(
}

delete sv;
return getSpatialBasis(num_used_singular_values);
return getSpatialBasis(time, num_used_singular_values);
}

Matrix*
Expand All @@ -165,7 +165,7 @@ BasisReader::getTemporalBasis(
double time,
int n)
{
return getTemporalBasis(1, n);
return getTemporalBasis(time, 1, n);
}

Matrix*
Expand Down Expand Up @@ -221,7 +221,7 @@ BasisReader::getTemporalBasis(
}

delete sv;
return getTemporalBasis(num_used_singular_values);
return getTemporalBasis(time, num_used_singular_values);
}

Vector*
Expand Down Expand Up @@ -350,7 +350,7 @@ BasisReader::getSnapshotMatrix(
double time,
int n)
{
return getSnapshotMatrix(1, n);
return getSnapshotMatrix(time, 1, n);
}

Matrix*
Expand Down

0 comments on commit 3c88ae3

Please sign in to comment.