Skip to content

Commit f6d1222

Browse files
committed
minor linting & consistency things
1 parent 8d5ba2e commit f6d1222

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/init_mag_grid.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ void Grid::fill_field_lines(arma_vec baseLatsLoc,
200200
for (int64_t iLat = 0; iLat < nLatLoc; iLat ++){
201201
for (int64_t iAlt = 0; iAlt < nAlts; iAlt ++){
202202
magP_Down(iLon, iLat, iAlt) = Lshells(iLat);
203-
}}}
203+
}
204+
}
205+
}
204206
}
205207
report.print(3, "dipole p-values stored for later.");
206208

@@ -260,7 +262,7 @@ void Grid::fill_field_lines(arma_vec baseLatsLoc,
260262

261263
// rad_unit_vcgc = make_cube_vector(nLons, nLats, nAlts, 3);
262264
// This is wrong (same lat everywhere), but get_radius doesnt support oblate earth yet.
263-
planetRadius = planet.get_radius(bLats(0));
265+
planetRadius = planet.get_radius(bLats.at(0));
264266

265267
for (int64_t iLat = 0; iLat < nLatLoc; iLat++)
266268
{

0 commit comments

Comments
 (0)