Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Third attempt to fix shiftSample, ticket:4530
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke authored and OpenModelica-Hudson committed Sep 27, 2017
1 parent 5b82171 commit 0371e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/SynchronousFeatures.mo
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ algorithm
case(BackendDAE.SUBCLOCK(f1,s1,solver1),BackendDAE.SUBCLOCK(f2,s2,solver2))
algorithm
solver1 := mergeSolver(solver1,solver2);
then BackendDAE.SUBCLOCK(MMath.divRational(f1, f2), MMath.addRational(s1, s2), solver1);
then BackendDAE.SUBCLOCK(MMath.divRational(f1, f2), MMath.addRational(MMath.multRational(s1, f2), s2), solver1);
case(BackendDAE.SUBCLOCK(f1,s1,solver1),BackendDAE.INFERED_SUBCLOCK())
then subSeqClock;
else
Expand Down

0 comments on commit 0371e97

Please sign in to comment.