Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20879 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed May 28, 2014
1 parent d775bd1 commit 47a7b1b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Compiler/Script/CevalScript.mo
Expand Up @@ -1225,7 +1225,7 @@ algorithm
Error.addMessage(Error.UNKNOWN_FMU_VERSION, {str1});
then
(cache,Values.STRING(""),st);

case (cache,env,"translateModelFMU", {Values.CODE(Absyn.C_TYPENAME(className)),Values.STRING(str1),Values.STRING(filenameprefix)},st,_)
then
(cache,Values.STRING(""),st);
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenFMU.tpl
Expand Up @@ -1240,7 +1240,7 @@ match platform
<%\t%>mkdir.exe -p <%fmudirname%>/binaries
<%\t%>mkdir.exe -p <%fmudirname%>/binaries/<%platform%>
<%\t%>mkdir.exe -p <%fmudirname%>/sources

<%\t%>dlltool -d <%fileNamePrefix%>.def --dllname <%fileNamePrefix%>$(DLLEXT) --output-lib <%fileNamePrefix%>.lib --kill-at
<%\t%>cp <%fileNamePrefix%>$(DLLEXT) <%fmudirname%>/binaries/<%platform%>/
<%\t%>cp <%fileNamePrefix%>.lib <%fmudirname%>/binaries/<%platform%>/
Expand Down
18 changes: 9 additions & 9 deletions SimulationRuntime/cpp/Solver/Kinsol/Kinsol.cpp
Expand Up @@ -266,15 +266,15 @@ void Kinsol::solve()
*/

// Try Sptfqmr
KINSptfqmr(_kinMem, _dimSys);
KINSptfqmr(_kinMem, _dimSys);
_iterationStatus = CONTINUE;
solveNLS();
if(_iterationStatus == DONE)
{
//_firstCall = false;
return;
}



// last try: Decrease steptol without any optimization
Expand Down Expand Up @@ -428,13 +428,13 @@ void Kinsol::solveNLS()
{
check4EventRetry(_y);
if(method==KIN_NONE)
{
method = KIN_LINESEARCH;
maxSteps = maxStepsStart;
limit = maxStepsHigh;
}
else
_iterationStatus = SOLVERERROR;
{
method = KIN_LINESEARCH;
maxSteps = maxStepsStart;
limit = maxStepsHigh;
}
else
_iterationStatus = SOLVERERROR;
}
break;

Expand Down

0 comments on commit 47a7b1b

Please sign in to comment.