Skip to content

Commit 218c7a5

Browse files
committed
STY: remove std namespace from init_mag_grid
1 parent 6b5ba69 commit 218c7a5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/init_mag_grid.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,9 @@ std::vector <arma_cube> mag_to_geo(arma_cube magLon, arma_cube magLat,
8787
// ----------------------------------------------------------------------
8888
bool Grid::init_dipole_grid(Quadtree quadtree_ion, Planets planet) {
8989

90-
using namespace std;
9190
bool DidWork = true;
9291

93-
string function = "Grid::init_dipole_grid";
92+
std::string function = "Grid::init_dipole_grid";
9493
static int iFunction = -1;
9594
report.enter(function, iFunction);
9695

@@ -514,11 +513,6 @@ bool Grid::init_dipole_grid(Quadtree quadtree_ion, Planets planet) {
514513
fill_grid_bfield(planet);
515514
report.print(4, "Done filling dipole grid with b-field!");
516515

517-
518-
// put back into altitude. we've been carrying around radius:
519-
// magAlt_scgc = magAlt_scgc - planetRadius;
520-
// this breaks things more???
521-
522516
report.exit(function);
523517
return DidWork;
524518
}

0 commit comments

Comments
 (0)