forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14699 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
0bf65758e8
commit
ee19043605
|
@ -72,11 +72,9 @@ double ComputeReduceRegion::compute_one(int m, int flag)
|
|||
int n = value2index[m];
|
||||
int j = argindex[m];
|
||||
|
||||
double one;
|
||||
if (mode == SUM) one = 0.0;
|
||||
else if (mode == MINN) one = BIG;
|
||||
else if (mode == MAXX) one = -BIG;
|
||||
else if (mode == AVE) one = 0.0;
|
||||
double one = 0.0;
|
||||
if (mode == MINN) one = BIG;
|
||||
if (mode == MAXX) one = -BIG;
|
||||
|
||||
if (which[m] == X) {
|
||||
if (flag < 0) {
|
||||
|
|
Loading…
Reference in New Issue