diff --git a/qpms/ewald.h b/qpms/ewald.h index 681cd26..adde9d7 100644 --- a/qpms/ewald.h +++ b/qpms/ewald.h @@ -152,7 +152,7 @@ static inline complex double clilgamma(complex double z) { * even if `z1 == z2`, because `-0 == 0` according to IEEE 754. * The side of the branch cut can be determined using `signbit(creal(z))`. */ -int cx_gamma_inc_series_e(double a, complex z, qpms_csf_result * result); +int cx_gamma_inc_series_e(double a, complex double z, qpms_csf_result * result); /// Incomplete Gamma function as continued fractions. /** @@ -164,7 +164,7 @@ int cx_gamma_inc_series_e(double a, complex z, qpms_csf_result * result); * even if `z1 == z2`, because `-0 == 0` according to IEEE 754. * The side of the branch cut can be determined using `signbit(creal(z))`. */ -int cx_gamma_inc_CF_e(double a, complex z, qpms_csf_result * result); +int cx_gamma_inc_CF_e(double a, complex double z, qpms_csf_result * result); /// Incomplete gamma for complex second argument. /** diff --git a/qpms/tmatrices.h b/qpms/tmatrices.h index 117e3f9..f9e3fd8 100644 --- a/qpms/tmatrices.h +++ b/qpms/tmatrices.h @@ -442,13 +442,13 @@ typedef struct qpms_arc_cylinder_params_t { /// Arc parametrisation of cylindrical particle; for qpms_arc_function_t. qpms_arc_function_retval_t qpms_arc_cylinder(double theta, - const void *params; ///< Points to qpms_arc_cylinder_params_t + const void *params ///< Points to qpms_arc_cylinder_params_t ); /// Arc parametrisation of spherical particle; for qpms_arc_function_t. /** Useful mostly only for benchmarks or debugging, as one can use the Mie-Lorentz solution. */ qpms_arc_function_retval_t qpms_arc_sphere(double theta, - const void *R; ///< Points to double containing particle's radius. + const void *R ///< Points to double containing particle's radius. );