fix bug that by chance has no unwanted side effects

This commit is contained in:
Axel Kohlmeyer
2024-02-06 19:37:15 -05:00
parent 49dcefa83b
commit fc1132b083

View File

@ -375,7 +375,7 @@ void CreateAtoms::command(int narg, char **arg)
} else if (style == MESH) { // NOTE to Axel - here is the rescaling of both params
if (mesh_style == BISECTION) { // by lattice spacings if units = lattice, similar to xone,overlap
radthresh *= domain->lattice->xlattice;
} else if (mesh_style = QUASIRANDOM) {
} else if (mesh_style == QUASIRANDOM) {
mesh_density /= (domain->lattice->xlattice * domain->lattice->xlattice);
}
}