Commit b8068182 authored by alexander.dornheim's avatar alexander.dornheim
Browse files

Changed output in compare_to_matlab in phase.py

parent 0b68c71d
......@@ -252,9 +252,9 @@ class Phase(Problem):
nonz = nonzero(u1)
diff = u1 - self.output['u1']
print(diff[nonz])
print("Maximum of absolute value of difference:")
print("Maximum norm of difference:")
print(np.amax(abs(diff)));
print("Frobenius of difference:")
print("Frobenius norm of difference:")
print(norm(diff))
print("Frobenius norm of matlab u1:")
print(norm(u1))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment