Skip to content

Commit d5d46fe

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent da54625 commit d5d46fe

File tree

1 file changed

+1
-3
lines changed
  • src/virtualship/instruments

1 file changed

+1
-3
lines changed

src/virtualship/instruments/xbt.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ def _xbt_cast(particle, fieldset, time):
5151

5252
# set particle depth to max depth if it's too deep
5353
if particle.depth + particle_ddepth < particle.max_depth:
54-
particle_ddepth = particle.max_depth - particle.depth
55-
56-
54+
particle_ddepth = particle.max_depth - particle.depth
5755

5856

5957
def simulate_xbt(

0 commit comments

Comments
 (0)