Skip to content

Commit

Permalink
Fix build issues on recent Fedora releases, GH-860
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Apr 6, 2023
1 parent 2d5dd0d commit 5fe03b6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Tri: add exceptions for invalid indexes (GH-853, Martin Davis)
- OffsetCurve: handle zero-distance offsets (GH-850, Martin Davis)
- LargestEmptyCircle: enhance boundary to allow any polygonal geometry (GH-859, Martin Davis)
- Build issues with RH (GH-860)


## Changes in 3.11.2
Expand Down
2 changes: 1 addition & 1 deletion include/geos/shape/fractal/HilbertCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#pragma once

#include <geos/export.h>
#include <string>
#include <cstdint>
#include <string>

// Forward declarations
namespace geos {
Expand Down
1 change: 1 addition & 0 deletions include/geos/shape/fractal/HilbertEncoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#pragma once

#include <geos/export.h>
#include <cstdint>
#include <string>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions tests/unit/capi/GEOSMakeValidTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstdint>
#include <cmath>
#include <cstring>

Expand Down
4 changes: 2 additions & 2 deletions tests/unit/math/DDTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ struct test_dd_data {
DD d(1.0);
int sign = 1;
while (t.doubleValue() > eps) {
k++;
k = k + 1;
if (sign < 0)
at = at - (t / d);
else
Expand All @@ -190,7 +190,7 @@ struct test_dd_data {
int i = 0;
while(t.doubleValue() > eps)
{
i++;
i = i + 1;
n += 1.0;
t = t / DD(n);
s = s + t;
Expand Down

0 comments on commit 5fe03b6

Please sign in to comment.