Skip to content

Commit

Permalink
Fix issue with ResultsViewer::Setup causing Wind configurations to fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Jul 24, 2023
1 parent 268725e commit 636c03a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/simulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,12 @@ VarValue *Simulation::GetValue( const wxString &name )
if (vv = GetInput(name, i))
found = true;
}
if (!found) {
for (int i = m_case->GetConfiguration()->Technology.size() - 1; i >= 0 && !found; i--) {
if (vv = m_case->Values(i).Get(name))
found = true;
}
}
return vv;
}
}
Expand Down

0 comments on commit 636c03a

Please sign in to comment.