Skip to content

Commit

Permalink
Fix misplaced parens
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Oct 17, 2024
1 parent a2d3be8 commit 606fddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/YarpCloudUtils/YarpCloudUtils-pcl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace
doMeshSubdivisionVTK(prev.getMesh(), curr.setMesh(), options);
break;
case "MovingLeastSquares"_hash:
if (options.check("computeNormals"), yarp::os::Value(false).asBool())
if (options.check("computeNormals", yarp::os::Value(false)).asBool())
doMovingLeastSquares<any_xyz_t, normal_t>(prev.getCloud<any_xyz_t>(), curr.setCloud<normal_t>(), options);
else
doMovingLeastSquares<any_xyz_t>(prev.getCloud<any_xyz_t>(), curr.setCloud<any_xyz_t>(), options);
Expand Down

0 comments on commit 606fddf

Please sign in to comment.