Skip to content

Commit 4e89218

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

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

src/virtualship/instruments/xbt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ def _xbt_cast(particle, fieldset, time):
4848
# delete particle if depth is exactly max_depth
4949
if particle.depth + particle_ddepth == particle.max_depth:
5050
particle.delete()
51-
51+
5252
# set particle depth to max depth if it's too deep
5353
if particle.depth + particle_ddepth < particle.max_depth:
5454
particle_ddepth = particle.max_depth - particle.depth
5555

56+
5657
def simulate_xbt(
5758
fieldset: FieldSet,
5859
out_path: str | Path,

0 commit comments

Comments
 (0)