We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e705db commit a9b5901Copy full SHA for a9b5901
1 file changed
include/osmium/area/detail/vector.hpp
@@ -84,7 +84,7 @@ namespace osmium {
84
85
// cross product
86
constexpr int64_t operator*(const vec& lhs, const vec& rhs) noexcept {
87
- return lhs.x * rhs.y - lhs.y * rhs.x;
+ return (lhs.x * rhs.y) - (lhs.y * rhs.x);
88
}
89
90
// scale vector
0 commit comments