@@ -129,7 +129,6 @@ algorithm
129129 varexp := Expression . expDer(varexp);
130130 cr := ComponentReference . crefPrefixDer(cr);
131131 end if ;
132-
133132 if (Types . isIntegerOrRealOrSubTypeOfEither(Expression . typeof(e1)) and Types . isIntegerOrRealOrSubTypeOfEither(Expression . typeof(e2))) then
134133 (e1, e2) := preprocessingSolve(e1, e2, varexp, SOME (shared . functionTree), NONE (), 0 , false );
135134 end if ;
@@ -915,7 +914,6 @@ algorithm
915914 (factorWithX1, factorWithoutX1) := List . split1OnTrue(f1, expHasCref, inExp3);
916915 pWithX1 := makeProductLstSort(factorWithX1);
917916 pWithoutX1 := makeProductLstSort(factorWithoutX1);
918-
919917 f2 := Expression . expandFactors(inExp2);
920918 (factorWithX2, factorWithoutX2) := List . split1OnTrue(f2, expHasCref, inExp3);
921919 (pWithX2,_) := ExpressionSimplify . simplify1(makeProductLstSort(factorWithX2));
@@ -989,7 +987,7 @@ algorithm
989987 if expand then
990988 (cr, b) := Expression . expOrDerCref(inExp3);
991989 if b then
992- (lhs, rhs) := Expression . allTermsForCref(inExp1, cr, Expression . Expression . expHasDerCref);
990+ (lhs, rhs) := Expression . allTermsForCref(inExp1, cr, Expression . expHasDerCref);
993991 else
994992 (lhs, rhs) := Expression . allTermsForCref(inExp1, cr, Expression . expHasCrefNoPreOrStart);
995993 end if ;
@@ -1748,7 +1746,7 @@ algorithm
17481746 false = hasOnlyFactors(inExp1,inExp2);
17491747 e = Expression . makeDiff(inExp1,inExp2);
17501748 (e,_) = ExpressionSimplify . simplify1(e);
1751- // print("\n\ ne: ");print(ExpressionDump.printExpStr(e));
1749+ // print("\ne: ");print(ExpressionDump.printExpStr(e));
17521750 dere = Differentiate . differentiateExpSolve(e, cr, functions);
17531751 // print("\nder(e): ");print(ExpressionDump.printExpStr(dere));
17541752 (dere,_) = ExpressionSimplify . simplify(dere);
0 commit comments