File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -514,19 +514,18 @@ int64_t Quadtree::find_point(arma_vec point) {
514
514
515
515
if (IsSphere)
516
516
wrap_point = wrap_point_sphere (point);
517
-
518
517
if (IsCubeSphere)
519
518
wrap_point = wrap_point_cubesphere (point);
519
+ if (IsDipole)
520
+ wrap_point = wrap_point_sphere (point);
520
521
521
522
int64_t iNode = -1 ;
522
523
523
524
for (int64_t iRoot = 0 ; iRoot < nRootNodes; iRoot++) {
524
525
iNode = find_point (wrap_point, root_nodes[iRoot]);
525
-
526
526
if (iNode > -1 )
527
527
break ;
528
528
}
529
-
530
529
return iNode;
531
530
}
532
531
@@ -542,9 +541,10 @@ int64_t Quadtree::find_root(arma_vec point) {
542
541
543
542
if (IsSphere)
544
543
wrap_point = wrap_point_sphere (point);
545
-
546
544
if (IsCubeSphere)
547
545
wrap_point = wrap_point_cubesphere (point);
546
+ if (IsDipole)
547
+ wrap_point = wrap_point_cubesphere (point);
548
548
549
549
int64_t iNode = -1 , iRoot;
550
550
You can’t perform that action at this time.
0 commit comments