Skip to content

Commit 1cbffe0

Browse files
committed
Bugfix
1 parent f767e04 commit 1cbffe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ram_geometry.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,15 @@ function calc_inertia_y_rotation(I_b_tensor)
311311
end
312312

313313
"""
314-
interpolate_matrix_nans!(matrix::Matrix{Float64})
314+
interpolate_matrix_nans!(matrix::Matrix{Float64}; prn=true)
315315
316316
Replace NaN values in a matrix by interpolating from nearest non-NaN neighbors.
317317
Uses an expanding search radius until valid neighbors are found.
318318
319319
# Arguments
320320
- `matrix`: Matrix containing NaN values to be interpolated
321321
"""
322-
function interpolate_matrix_nans!(matrix::Matrix{Float64}; plt=true)
322+
function interpolate_matrix_nans!(matrix::Matrix{Float64}; prn=true)
323323
rows, cols = size(matrix)
324324
nans_found = 0
325325
while any(isnan, matrix)

0 commit comments

Comments
 (0)