diff --git a/deps/AMICI/src/model.cpp b/deps/AMICI/src/model.cpp index 017b9cf8..46c9e990 100644 --- a/deps/AMICI/src/model.cpp +++ b/deps/AMICI/src/model.cpp @@ -1683,7 +1683,7 @@ int Model::checkFinite( if (hasObservableIds()) row_id += " " + getObservableIds()[row]; if (hasParameterIds()) - col_id += " " + getParameterIds()[plist(gsl::narrow(col))]; + col_id += " " + getParameterIds()[col]; break; case ModelQuantity::dydx: if (hasObservableIds())