Skip to content

Commit

Permalink
suggested parentheses around and condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan24680 committed Feb 15, 2025
1 parent a7f4695 commit e5121f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/SpatialJoinAlgorithms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Id SpatialJoinAlgorithms::computeDist(RtreeEntry& geo1, RtreeEntry& geo2) {

// use the already parsed geometries to calculate the distance
if (useMidpointForAreas_ ||
geo1.geoPoint_.has_value() && geo2.geoPoint_.has_value()) {
(geo1.geoPoint_.has_value() && geo2.geoPoint_.has_value())) {
return Id::makeFromDouble(ad_utility::detail::wktDistImpl(
convertPoint(geo1), convertPoint(geo2)));
} else {
Expand Down

0 comments on commit e5121f6

Please sign in to comment.