Skip to content
Snippets Groups Projects
Commit 7eca95a1 authored by Koerber, Lukas (FWIN-C) - 108045's avatar Koerber, Lukas (FWIN-C) - 108045
Browse files

Return m_ini when minimizer fails.

parent ca586147
No related branches found
No related tags found
No related merge requests found
......@@ -122,4 +122,4 @@ def minimize_gibbs_free_energy(sample, Bext,tol_cg):
return m_final
else:
print("\ndid not work :(\n")
#return m_ini
\ No newline at end of file
return m_ini
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment