Skip to content

Commit a6a970b

Browse files
committed
Scipy: assigned fStatus
1 parent fb25659 commit a6a970b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

math/scipy/src/ScipyMinimizer.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ bool ScipyMinimizer::Minimize()
309309
std::cout << "=== Status: " << status << std::endl;
310310
std::cout << "=== Message: " << message << std::endl;
311311
std::cout << "=== Function calls: " << nfev << std::endl;
312+
if(success) fStatus=0;
312313
return success;
313314
}
314315

0 commit comments

Comments
 (0)