diff --git a/src/model.cpp b/src/model.cpp index 218870cafe..3c78802731 100644 --- a/src/model.cpp +++ b/src/model.cpp @@ -1818,7 +1818,7 @@ int Model::checkFinite(SUNMatrix m, ModelQuantity model_quantity, realtype t) if (hasExpressionIds()) row_id += " " + getExpressionIds()[row]; if (hasParameterIds()) - col_id += " " + getParameterIds()[plist(gsl::narrow(col))]; + col_id += " " + getParameterIds()[col]; break; default: break;