This commit is contained in:
Axel Kohlmeyer
2020-10-30 13:21:01 -04:00
parent 756e979545
commit 980fce06de

View File

@ -533,8 +533,7 @@ void AtomVecEllipsoid::write_data_bonus(FILE *fp, int n, double *buf, int /*flag
this may create or delete entry in bonus data this may create or delete entry in bonus data
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
void AtomVecEllipsoid:: void AtomVecEllipsoid::set_shape(int i, double shapex, double shapey, double shapez)
set_shape(int i, double shapex, double shapey, double shapez)
{ {
if (ellipsoid[i] < 0) { if (ellipsoid[i] < 0) {
if (shapex == 0.0 && shapey == 0.0 && shapez == 0.0) return; if (shapex == 0.0 && shapey == 0.0 && shapez == 0.0) return;