Skip to content

Commit

Permalink
Merge pull request #9 from vruge/disableDynStateSelectionInDynOpt2
Browse files Browse the repository at this point in the history
improved: disable dynamic state selction
  • Loading branch information
sjoelund committed May 28, 2015
2 parents 1eb6ca8 + 99f5ac6 commit 0916890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/IndexReduction.mo
Expand Up @@ -1772,7 +1772,7 @@ algorithm
neqns = BackendEquation.equationLstSize(eqnslst);
nfreeStates = listLength(varlst);
// reduce state candidates of number neqns
if Flags.getConfigBool(Flags.DSIABLE_DSS) then
if Flags.getConfigBool(Flags.DSIABLE_DSS) and neqns < nfreeStates then
(varlst, nfreeStates) = reduceStateCandidates(neqns, varlst, vars, NONE());
end if;
// do state selection of that level
Expand Down

0 comments on commit 0916890

Please sign in to comment.