put consistent definition of INVOKED_* constants as enumerator into compute.h
This commit is contained in:
@ -48,7 +48,6 @@ enum{ONCE,NFREQ,EVERY}; // used in several files
|
||||
enum{LIMITMAX,LIMITEXACT};
|
||||
|
||||
#define IDMAX 1024*1024
|
||||
#define INVOKED_PERATOM 8
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -958,9 +957,9 @@ void ComputeChunkAtom::assign_chunk_ids()
|
||||
}
|
||||
|
||||
} else if (which == COMPUTE) {
|
||||
if (!(cchunk->invoked_flag & INVOKED_PERATOM)) {
|
||||
if (!(cchunk->invoked_flag & Compute::INVOKED_PERATOM)) {
|
||||
cchunk->compute_peratom();
|
||||
cchunk->invoked_flag |= INVOKED_PERATOM;
|
||||
cchunk->invoked_flag |= Compute::INVOKED_PERATOM;
|
||||
}
|
||||
|
||||
if (argindex == 0) {
|
||||
|
||||
Reference in New Issue
Block a user