Skip to content

Commit

Permalink
fix index type
Browse files Browse the repository at this point in the history
  • Loading branch information
svigerske committed Oct 10, 2023
1 parent 74311d6 commit 424b5e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tasks/TaskSolveIteration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ void TaskSolveIteration::run()
{
auto debugPath = env->settings->getSetting<std::string>("Debug.Path", "Output");

for(int i = 0; i < sols.size(); i++)
for(size_t i = 0; i < sols.size(); i++)
{
auto filename = fmt::format("{}/dualiter{}_solpt_{}.txt", debugPath, currIter->iterationNumber - 1, i);
Utilities::saveVariablePointVectorToFile(sols.at(i).point, variableNames, filename);
}

for(int i = 0; i < sols.size(); i++)
for(size_t i = 0; i < sols.size(); i++)
{
auto filename
= fmt::format("{}/dualiter{}_solinfo_{}.txt", debugPath, currIter->iterationNumber - 1, i);
Expand Down

0 comments on commit 424b5e4

Please sign in to comment.