Skip to content

Commit

Permalink
Drop redundant comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Sep 25, 2024
1 parent a6cc97c commit e4b6497
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/inputFile_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,7 @@ void InputFile<t_System>::check_lammps_command( std::string line,
if ( keyword.compare( "mass" ) == 0 )
{
known = true;
int type = std::stoi( words.at( 1 ) ) -
1; // this is annoying because all other commands have to do
// the +1 / -1 thing
int type = std::stoi( words.at( 1 ) ) - 1;
if ( type >= (int)system->mass.extent( 0 ) )
Kokkos::resize( system->mass, type + 1 );
using exe_space = typename t_System::execution_space;
Expand Down

0 comments on commit e4b6497

Please sign in to comment.