Skip to content

Commit 284c4d3

Browse files
committedOct 31, 2017
Fix tests
1 parent 8f22f5e commit 284c4d3

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
 

‎python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2659,7 +2659,7 @@ tests:
26592659
compare:
26602660
ignore_crs_check: true
26612661
geometry:
2662-
precision: 5
2662+
precision: 2
26632663

26642664
- algorithm: qgis:shortestpathlayertopoint
26652665
name: Shortest path layer to point
@@ -2684,7 +2684,7 @@ tests:
26842684
type: vector
26852685
compare:
26862686
geometry:
2687-
precision: 5
2687+
precision: 2
26882688

26892689
- algorithm: qgis:shortestpathpointtolayer
26902690
name: Shortest path point to layer
@@ -2709,7 +2709,7 @@ tests:
27092709
type: vector
27102710
compare:
27112711
geometry:
2712-
precision: 5
2712+
precision: 2
27132713

27142714
- algorithm: qgis:serviceareafrompoint
27152715
name: Service area (from point, shortest)
@@ -2733,7 +2733,7 @@ tests:
27332733
compare:
27342734
ignore_crs_check: true
27352735
geometry:
2736-
precision: 5
2736+
precision: 2
27372737

27382738
- algorithm: qgis:serviceareafromlayer
27392739
name: Service area from layer
@@ -2759,7 +2759,7 @@ tests:
27592759
compare:
27602760
ignore_crs_check: true
27612761
geometry:
2762-
precision: 5
2762+
precision: 2
27632763
pk:
27642764
- d
27652765
- type

‎src/analysis/network/qgsvectorlayerdirector.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ QgsVectorLayerDirector::Direction QgsVectorLayerDirector::directionForFeature( c
112112
}
113113
}
114114

115+
///@cond PRIVATE
115116
class QgsNetworkVisitor : public SpatialIndex::IVisitor
116117
{
117118
public:
@@ -133,6 +134,8 @@ class QgsNetworkVisitor : public SpatialIndex::IVisitor
133134
QVector< int > &mPoints;
134135
};
135136

137+
///@endcond
138+
136139
std::unique_ptr< SpatialIndex::ISpatialIndex > createVertexSpatialIndex( SpatialIndex::IStorageManager &storageManager )
137140
{
138141
// R-Tree parameters

0 commit comments

Comments
 (0)
Please sign in to comment.