Don't pass XYONLY flag when it's not XYONLY

(Caused assertion failed.)


Former-commit-id: 9765414f6c91b114cd84562d5587e586e1e244b3
This commit is contained in:
Marek Nečada 2020-06-01 16:37:12 +03:00
parent 6009de6fa2
commit 90458af3be
1 changed files with 1 additions and 1 deletions

View File

@ -994,7 +994,7 @@ int qpms_trans_calculator_get_AB_arrays_e32_e(const qpms_trans_calculator *c,
QPMS_ENSURE_SUCCESS(ewald3_sigma_short(sigmas_short, serr_short, c->e3c, eta, k,
LAT_2D_IN_3D_XYONLY, &Rgen,
particle_shift.z ? LAT_2D_IN_3D : LAT_2D_IN_3D_XYONLY, &Rgen,
#ifdef GEN_RSHIFTEDPOINTS
true,
#else