Skip to content

Commit

Permalink
COMP: Fix warning for double->float conversion in parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
imikejackson committed Oct 17, 2024
1 parent 0043bea commit 67217d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Parameters SliceTriangleGeometryFilter::parameters() const
params.insertLinkableParameter(std::make_unique<ChoicesParameter>(k_SliceRange_Key, "Slice Range", "Type of slice range to use, either Full Range or User Defined Range", 0,
ChoicesParameter::Choices{"Full Range", "User Defined Range"}));
params.insert(std::make_unique<Float32Parameter>(k_Zstart_Key, "Slicing Start", "The z axis start value", 0.0f));
params.insert(std::make_unique<Float32Parameter>(k_Zend_Key, "Slicing End", "The z axis stop value", 0.0));
params.insert(std::make_unique<Float32Parameter>(k_Zend_Key, "Slicing End", "The z axis stop value", 0.0f));
params.insert(std::make_unique<Float32Parameter>(k_SliceResolution_Key, "Slice Spacing", "The spacing between slices", 1.0f));

params.insertSeparator(Parameters::Separator{"Input Geometry"});
Expand Down

0 comments on commit 67217d1

Please sign in to comment.