Skip to content

Commit

Permalink
Update src/model.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian Fröhlich <[email protected]>
  • Loading branch information
dweindl and FFroehlich authored Mar 5, 2024
1 parent 35e6f38 commit 4fb2dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ void Model::initializeStates(AmiVector& x) {
std::copy(x0_solver.cbegin(), x0_solver.cend(), x.data());
}

checkFinite(x.getVector(), ModelQuantity::x0, 0.0);
checkFinite(x.getVector(), ModelQuantity::x0, t0());
}

void Model::initializeSplines() {
Expand Down

0 comments on commit 4fb2dbd

Please sign in to comment.