Skip to content
Snippets Groups Projects
Commit 78eba296 authored by David Seus's avatar David Seus
Browse files

fix trailing print(\n) causing blank output in domainPatch.calc_gli_term

parent 18119b0b
No related branches found
No related tags found
No related merge requests found
...@@ -621,7 +621,7 @@ class DomainPatch(df.SubDomain): ...@@ -621,7 +621,7 @@ class DomainPatch(df.SubDomain):
# print(f"np.allclose({p_coord}, {gli_dof_coord}, rtol=1e-10, atol=1e-14): {b_close_a}") # print(f"np.allclose({p_coord}, {gli_dof_coord}, rtol=1e-10, atol=1e-14): {b_close_a}")
if a_close_b and b_close_a: if a_close_b and b_close_a:
p_previous_dof = p_prev_dof p_previous_dof = p_prev_dof
print("\n")
if p_previous_dof is None: if p_previous_dof is None:
raise RuntimeError(f"didn't find p_previous_dof corresponding to dict key ({gli_dof_coord})", raise RuntimeError(f"didn't find p_previous_dof corresponding to dict key ({gli_dof_coord})",
"something is wrong") "something is wrong")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment