Open
Description
Since we are using
PetscScalar
we should probably usePetscRealPart
andPetscImaginaryPart
.
This would be instead of
real_simplex[d*i+j] = creal(simplex[d*i+j]);
imag_simplex[d*i+j] = cimag(simplex[d*i+j]);
in static void seperate_real_and_imag(PetscScalar *simplex, double *real_simplex, double *imag_simplex, int d)
- permalink here.
Originally posted by @djanekovic in #1696 (comment)