Skip to content

Commit

Permalink
explicit conversion from sizet to int
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAD committed Dec 6, 2023
1 parent 0f906c4 commit e107216
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OndselSolver/StableBackwardDifference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ FColDsptr MbD::StableBackwardDifference::derivativepresentpast(int deriv, FColDs
return std::static_pointer_cast<FullColumn<double>>(answer);
}
else {
return std::make_shared<FullColumn<double>>(y->size(), 0.0);
auto ySize = (int)y->size();
return std::make_shared<FullColumn<double>>(ySize, 0.0);
}
}
}

0 comments on commit e107216

Please sign in to comment.