Skip to content

Commit

Permalink
fix: use logical AND instead of bitwise AND (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
program-- authored and PhilMiller committed Apr 15, 2024
1 parent 89a38e9 commit 7639cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geopackage/geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ geojson::geometry ngen::geopackage::build_geometry(
const bg::srs::transformation<> prj{epsg, ngen::srs::epsg::get(ngen::srs::epsg::wgs84)};
wkb::wgs84 pvisitor{srs_id, prj};

if (indicator > 0 & indicator < 5) {
if (indicator > 0 && indicator < 5) {
// not an empty envelope

double min_x = 0, max_x = 0, min_y = 0, max_y = 0;
Expand Down

0 comments on commit 7639cb7

Please sign in to comment.