Skip to content

Commit

Permalink
Fix bug in module
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnymaserati committed Jun 6, 2021
1 parent 957971e commit 080aea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions welleng/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,9 +827,9 @@ def _target_pos_and_vec_defined(self, pos3, vec_old=[0., 0., 0.]):
# to balance the curvatures until the delta_radius parameter is
# met.
if self.error:
self.radius_critical = (self.md_target - self.md1) / (
self.radius_critical = ((self.md_target - self.md1) / (
abs(self.dogleg) + abs(self.dogleg2)
)
)) / 2
assert self.radius_critical > 0
# self.radius_critical += np.random.rand() * (
# self.radius_critical - self.radius_critical2
Expand Down
2 changes: 1 addition & 1 deletion welleng/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.2.20'
__version__ = '0.2.21'

0 comments on commit 080aea3

Please sign in to comment.