Commit 274e95a1 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

small corrections in CouplinIterationInterface

parent e405863d
......@@ -28,7 +28,7 @@ namespace AMDiS {
/// add problem by number
void CouplingIterationInterface::addIterationInterface(ProblemIterationInterface* probIter, int number)
{
unsigned idx = std::min(problems.size(), static_cast<unsigned>(number));
size_t idx = std::min(problems.size(), static_cast<size_t>(number));
if (number < 0)
idx = problems.size();
std::vector<ProblemIterationInterface*>::iterator pos = problems.begin() + idx;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment