include fix from @ndtrung81

This commit is contained in:
Axel Kohlmeyer
2023-04-12 13:06:09 -04:00
parent 8a3d0caffd
commit fbded8d8f4

View File

@ -79,6 +79,8 @@ grdtyp *PPPMT::init(const int nlocal, const int nall, FILE *_screen,
return nullptr;
}
if (ucl_device!=device->gpu) _compiled=false;
ucl_device=device->gpu;
atom=&device->atom;