Skip to content

Commit

Permalink
fix narrowing conversion error (#177)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 authored Jan 21, 2025
1 parent cdafd70 commit c3e63aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/NGT/Capi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ NGTPropertyInfo ngt_get_property_info(NGTIndex index, NGTError error) {
prop.buildTimeLimit,
prop.outgoingEdge,
prop.incomingEdge,
prop.insertionRadiusCoefficient - 1.0};
static_cast<float>(prop.insertionRadiusCoefficient - 1.0)};
return info;
}

Expand Down

0 comments on commit c3e63aa

Please sign in to comment.