File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1604,9 +1604,9 @@ template functionSetupLinearSystemsTemp(list<SimEqSystem> allEquations, String m
16041604 let body_initializeStaticLSData = (eq.vars |> var hasindex i0 =>
16051605 <<
16061606 /* static ls data for <%cref(varName(var))%> */
1607- linearSystemData->nominal[i] = $P$ATTRIBUTE<%cref(varName(var))%>.nominal;
1608- linearSystemData->min[i] = $P$ATTRIBUTE<%cref(varName(var))%>.min;
1609- linearSystemData->max[i++] = $P$ATTRIBUTE<%cref(varName(var))%>.max;
1607+ linearSystemData->nominal[i] = 1.0; /* $P$ATTRIBUTE<%cref(varName(var))%>.nominal */
1608+ linearSystemData->min[i] = -DBL_MAX; /* $P$ATTRIBUTE<%cref(varName(var))%>.min */
1609+ linearSystemData->max[i++] = DBL_MAX; /* $P$ATTRIBUTE<%cref(varName(var))%>.max */
16101610 >> ;separator="\n")
16111611 <<
16121612 <%auxFunction%>
@@ -1650,9 +1650,9 @@ template functionSetupLinearSystemsTemp(list<SimEqSystem> allEquations, String m
16501650 let body_initializeStaticLSData = (eq.vars |> var hasindex i0 =>
16511651 <<
16521652 /* static ls data for <%cref(varName(var))%> */
1653- linearSystemData->nominal[i] = $P$ATTRIBUTE<%cref(varName(var))%>.nominal;
1654- linearSystemData->min[i] = $P$ATTRIBUTE<%cref(varName(var))%>.min;
1655- linearSystemData->max[i++] = $P$ATTRIBUTE<%cref(varName(var))%>.max;
1653+ linearSystemData->nominal[i] = 1.0; /* $P$ATTRIBUTE<%cref(varName(var))%>.nominal */
1654+ linearSystemData->min[i] = -DBL_MAX; /* $P$ATTRIBUTE<%cref(varName(var))%>.min */
1655+ linearSystemData->max[i++] = DBL_MAX; /* $P$ATTRIBUTE<%cref(varName(var))%>.max */
16561656 >> ;separator="\n")
16571657 <<
16581658 <%auxFunction%>
You can’t perform that action at this time.
0 commit comments