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

Commit 5cf076a

Browse files
Willi BraunOpenModelica-Hudson
authored andcommitted
[Backend] Use the original functionTree instead an empty one
Belonging to [master]: - #2193
1 parent 92921a4 commit 5cf076a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Compiler/BackEnd/SymbolicJacobian.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,10 +2106,10 @@ algorithm
21062106
BackendDAE.ExtraInfo ei;
21072107
Integer size;
21082108

2109-
case(BackendDAE.DAE(shared=BackendDAE.SHARED(cache=cache, graph=graph, info=ei)), {}, _, _, _, _, _, _) equation
2109+
case(BackendDAE.DAE(shared=BackendDAE.SHARED(cache=cache, graph=graph, info=ei, functionTree=functions)), {}, _, _, _, _, _, _) equation
21102110
jacobian = BackendDAE.DAE( {BackendDAEUtil.createEqSystem(BackendVariable.emptyVars(), BackendEquation.emptyEqns())},
21112111
BackendDAEUtil.createEmptyShared(BackendDAE.JACOBIAN(), ei, cache, graph));
2112-
then (jacobian, DAE.AvlTreePathFunction.Tree.EMPTY());
2112+
then (jacobian, functions);
21132113

21142114
case( BackendDAE.DAE( BackendDAE.EQSYSTEM(orderedVars=orderedVars, orderedEqs=orderedEqs, matching=BackendDAE.MATCHING(ass2=ass2))::{},
21152115
BackendDAE.SHARED(globalKnownVars=globalKnownVars, cache=cache,graph=graph, functionTree=functions, info=ei) ),

0 commit comments

Comments
 (0)