Skip to content

Commit

Permalink
Fixed error with commit 75c04c4
Browse files Browse the repository at this point in the history
  • Loading branch information
qichenghua authored and OpenModelica-Hudson committed Mar 22, 2017
1 parent 75c04c4 commit 0785449
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SimulationRuntime/cpp/Solver/Nox/Nox.cpp
Expand Up @@ -308,9 +308,9 @@ void Nox::solve()
try{
//std::cout << "solving..." << std::endl;
status = _solver->solve();
LOGGER_WRITE_BEGIN("NOX: ",LC_NLS,LL_DEBUG)
LOGGER_WRITE_BEGIN("NOX: ",LC_NLS,LL_DEBUG);
LOGGER_WRITE((dynamic_cast<const std::stringstream &>(*output)).str(),LC_NLS,LL_DEBUG);
LOGGER_WRITE_END(LC_NLS,LL_DEBUG)
LOGGER_WRITE_END(LC_NLS,LL_DEBUG);
//std::cout << "done!" << std::endl;
}
catch(const std::exception &ex)
Expand Down Expand Up @@ -664,9 +664,9 @@ void Nox::LocaHomotopySolve(int numberofhomotopytries)
try{
// Perform continuation run
LOCA::Abstract::Iterator::IteratorStatus status = stepper.run();
LOGGER_WRITE_BEGIN("LOCA: ",LC_NLS,LL_DEBUG)
LOGGER_WRITE_BEGIN("LOCA: ",LC_NLS,LL_DEBUG);
LOGGER_WRITE((dynamic_cast<const std::stringstream &>(*output)).str(),LC_NLS,LL_DEBUG);
LOGGER_WRITE_END(LC_NLS,LL_DEBUG)
LOGGER_WRITE_END(LC_NLS,LL_DEBUG);
// Check for convergence
if (status != LOCA::Abstract::Iterator::Finished){
if(_generateoutput) std::cout << "Stepper failed to converge!" << std::endl;
Expand Down

0 comments on commit 0785449

Please sign in to comment.