Skip to content

Commit

Permalink
Relaxing too-strong sanity checks in trajectory class.
Browse files Browse the repository at this point in the history
  • Loading branch information
lingfeiwang authored Apr 22, 2024
1 parent 48224fb commit f668a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dictys/traj.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def topoint(self)->point:
Point object converted.
"""
return point.fromnodes(self)
def conform_locs(self,locs:NDArray[float],edges:NDArray[int],abs_err:float=1E-7,rel_err:float=1E-7)->NDArray:
def conform_locs(self,locs:NDArray[float],edges:NDArray[int],abs_err:float=1E-6,rel_err:float=1E-6)->NDArray:
"""
Conform point locations by clipping small deviations under float precision. An error will be trigger if the relative and absolute errors both exceed the given bounds.
Expand Down

0 comments on commit f668a0c

Please sign in to comment.