Skip to content

Commit

Permalink
Fix getSpatialBasis calls to remove time parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ckendrick committed Mar 25, 2024
1 parent 90488de commit 6400aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/prom/elliptic_eigenproblem_global_rom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,11 +479,11 @@ int main(int argc, char *argv[])
const CAROM::Matrix *spatialbasis;
if (rdim != -1)
{
spatialbasis = reader.getSpatialBasis(0.0, rdim);
spatialbasis = reader.getSpatialBasis(rdim);
}
else
{
spatialbasis = reader.getSpatialBasis(0.0, ef);
spatialbasis = reader.getSpatialBasis(ef);
}

const int numRowRB = spatialbasis->numRows();
Expand Down

0 comments on commit 6400aa5

Please sign in to comment.