Skip to content

Commit

Permalink
feat(#30): remove duplicate resize
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Oct 5, 2024
1 parent e901883 commit eee2105
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mba/mba.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ class control_lattice_dense : public control_lattice<NDim> {
precondition(static_cast<bool>(f.read((char*)hinv.data(), sizeof(hinv))), "file i/o error");
precondition(static_cast<bool>(f.read((char*)grid.data(), sizeof(grid))), "file i/o error");

phi.resize(grid);
phi.read(f);
}

Expand Down

0 comments on commit eee2105

Please sign in to comment.