use portable logic operators

This commit is contained in:
Axel Kohlmeyer
2021-10-07 12:23:17 -04:00
parent 3661b8cd50
commit 4f17082d74
6 changed files with 6 additions and 6 deletions

View File

@ -132,7 +132,7 @@ void MLIAPModelPython::connect_param_counts()
void MLIAPModelPython::compute_gradients(MLIAPData *data)
{
if (not model_loaded) { error->all(FLERR, "Model not loaded."); }
if (!model_loaded) { error->all(FLERR, "Model not loaded."); }
PyGILState_STATE gstate = PyGILState_Ensure();
MLIAPPY_compute_gradients(this, data);