From 63aa338891968c486a902b40315aa825f2eb57ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Sat, 11 Apr 2020 10:01:58 +0300 Subject: [PATCH] Fix syntax error which gcc tolerated Former-commit-id: 696ccbfad8997a9c8935def2ce4406a21a51dcf8 --- qpms/ewald.h | 4 ++-- qpms/tmatrices.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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. );