File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
SimulationRuntime/cpp/Solver/Kinsol Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -153,13 +153,13 @@ void Kinsol::initialize()
153153 idid = KINSetUserData (_kinMem, _data);
154154 if (check_flag (&idid, (char *)" KINSetUserData" , 1 ))
155155 throw ModelicaSimulationError (ALGLOOP_SOLVER," Kinsol::initialize()" );
156-
156+
157157 #ifdef USE_SUNDIALS_LAPACK
158158 KINLapackDense (_kinMem, _dimSys);
159159 #else
160160 KINDense (_kinMem, _dimSys);
161161 #endif // USE_SUNDIALS_LAPACK
162-
162+
163163 idid = KINSetErrFile (_kinMem, NULL );
164164 idid = KINSetNumMaxIters (_kinMem, 1000 );
165165 // idid = KINSetEtaForm(_kinMem, KIN_ETACHOICE2);
@@ -232,7 +232,7 @@ void Kinsol::solve()
232232 for (int i=0 ;i<_dimSys;i++) // Reset Scaling
233233 _fScale[i] = 1.0 ;
234234
235-
235+
236236 solveNLS ();
237237 if (_iterationStatus == DONE)
238238 return ;
You can’t perform that action at this time.
0 commit comments