memcpymask is a constant and thus should be uppercase

This commit is contained in:
Axel Kohlmeyer
2024-12-27 01:54:44 -05:00
parent 5ece81323e
commit 53c3fa2afd
6 changed files with 19 additions and 19 deletions

View File

@ -4739,7 +4739,7 @@ int Variable::special_function(const std::string &word, char *contents, Tree **t
double *result;
memory->create(result,atom->nlocal,"variable:result");
memcpy(result,reader[ivar]->fixstore->vstore,(atom->nlocal*sizeof(double))&memcpymask);
memcpy(result,reader[ivar]->fixstore->vstore,(atom->nlocal*sizeof(double))&MEMCPYMASK);
int done = reader[ivar]->read_peratom();
if (done) remove(ivar);