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 ed941f8 commit 1f47579Copy full SHA for 1f47579
src/grid_match.cpp
@@ -3,8 +3,8 @@
3
4
#include "aether.h"
5
6
-bool grid_match(Grid gGrid,
7
- Grid mGrid,
+bool grid_match(Grid gGrid,
+ Grid mGrid,
8
Quadtree gQuadtree,
9
Quadtree mQuadtree) {
10
@@ -33,14 +33,16 @@ bool grid_match(Grid gGrid,
33
norms = sphere_to_cube(lon, lat);
34
iNode = gQuadtree.find_point(norms);
35
}
36
- std::cout << "lon, lat, node: " << lon*cRtoD << " "
37
- << lat*cRtoD << " "
38
- << norms(0) << " "
39
- << norms(1) << " "
40
- << norms(2) << " "
41
- << iNode << "\n";
+ if (report.test_verbose(6))
+ std::cout << "lon, lat, node: " << lon*cRtoD << " "
+ << lat*cRtoD << " "
+ << norms(0) << " "
+ << norms(1) << " "
+ << norms(2) << " "
42
+ << iNode << "\n";
43
44
45
46
+
47
return true;
48
0 commit comments