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

Commit 0371e97

Browse files
rfrankeOpenModelica-Hudson
authored andcommitted
Third attempt to fix shiftSample, ticket:4530
1 parent 5b82171 commit 0371e97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Compiler/BackEnd/SynchronousFeatures.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ algorithm
821821
case(BackendDAE.SUBCLOCK(f1,s1,solver1),BackendDAE.SUBCLOCK(f2,s2,solver2))
822822
algorithm
823823
solver1 := mergeSolver(solver1,solver2);
824-
then BackendDAE.SUBCLOCK(MMath.divRational(f1, f2), MMath.addRational(s1, s2), solver1);
824+
then BackendDAE.SUBCLOCK(MMath.divRational(f1, f2), MMath.addRational(MMath.multRational(s1, f2), s2), solver1);
825825
case(BackendDAE.SUBCLOCK(f1,s1,solver1),BackendDAE.INFERED_SUBCLOCK())
826826
then subSeqClock;
827827
else

0 commit comments

Comments
 (0)