Commit 34b42bd5 authored by rmapaah's avatar rmapaah

Issue #13: exit() function replaced with raisevalue if rank < 6

parent f8f971d3
......@@ -78,8 +78,7 @@ def pivot_calibration(matrices4x4):
if s_values[i] != 0:
rank += 1
if rank < 6:
print("PivotCalibration: Failed. Rank < 6")
exit()
raise ValueError("PivotCalibration: Failed. Rank < 6")
# Residual Matrix
......
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