Skip to content

Commit

Permalink
fixed an error reported by Gabriel Rocha
Browse files Browse the repository at this point in the history
  • Loading branch information
chunshen1987 committed Aug 27, 2024
1 parent 37dd2f4 commit a19d4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grid_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ void Cell_info::output_evolution_for_movie(Fields &arena, const double tau) {
const int output_nx = static_cast<int>(arena.nX()/n_skip_x);
const int output_ny = static_cast<int>(arena.nY()/n_skip_y);
const int output_neta = (
std::min(1, static_cast<int>(arena.nEta()/n_skip_eta)));
std::max(1, static_cast<int>(arena.nEta()/n_skip_eta)));
const double output_dx = DATA.delta_x*n_skip_x;
const double output_dy = DATA.delta_y*n_skip_y;
const double output_deta = DATA.delta_eta*n_skip_eta;
Expand Down

0 comments on commit a19d4ac

Please sign in to comment.