Skip to content

Commit

Permalink
update layout type in create_velocities
Browse files Browse the repository at this point in the history
  • Loading branch information
sfogerty committed Feb 3, 2021
1 parent 2967192 commit 391fd35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/inputFile_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -774,9 +774,8 @@ void InputFile<t_System>::create_velocities( Comm<t_System> *comm,
// drift (bad for energy statistics)

t_System s = *system;
using t_layout = typename t_System::layout_type;
System<Kokkos::Device<Kokkos::DefaultHostExecutionSpace, Kokkos::HostSpace>,
t_layout>
CabanaMD_LAYOUT>
host_system;
host_system.resize( system->N_local );
host_system.deep_copy( s );
Expand Down

0 comments on commit 391fd35

Please sign in to comment.