Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Commit fc40c65

Browse files
Mandate keyword arguments to avoid ambiguous method definition
Specific method (assessment of candidate rotated towards the reef edge) is currently unused, but may be useful later so not removing just yet.
1 parent 84b49bb commit fc40c65

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/site_assessment/best_fit_polygons.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ end
8989
function assess_reef_site(
9090
rel_pix::DataFrame,
9191
rotated::Vector{GI.Wrappers.Polygon},
92-
max_count::Float64;
93-
n_per_side::Int64=1,
94-
suit_threshold::Float64=0.7
92+
max_count::Float64,
93+
n_per_side::Int64,
94+
suit_threshold::Float64
9595
)::Tuple{Float64,Int64,GI.Wrappers.Polygon,Int64}
9696
# Implementation with pre-rotations
9797
n_rotations = length(rotated)
@@ -338,9 +338,9 @@ function identify_edge_aligned_sites(
338338
best_score[i], best_rotation[i], best_poly[i], quality_flag[i] = assess_reef_site(
339339
rel_pix,
340340
rotated_copy,
341-
max_count;
342-
n_per_side=n_rot_p_side,
343-
suit_threshold=suit_threshold
341+
max_count,
342+
n_rot_p_side,
343+
suit_threshold
344344
)
345345
end
346346

0 commit comments

Comments
 (0)