From 4945775aab9d0ae084fa1f5fe52b45f324fe7d68 Mon Sep 17 00:00:00 2001 From: Paul Kienzle Date: Wed, 29 Jan 2025 15:26:50 -0500 Subject: [PATCH] pocl on CI pickier about C++ constructs in C code --- sasmodels/models/star_polymer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sasmodels/models/star_polymer.c b/sasmodels/models/star_polymer.c index 2c687b6e..b819ad57 100644 --- a/sasmodels/models/star_polymer.c +++ b/sasmodels/models/star_polymer.c @@ -54,5 +54,5 @@ double Iq(double q, double rg_sq, double arms) // rounding: stacked_disk pearl_necklace multilayer_vesicle linear_pearls // lamellar_stack_caille lamellar_hg_stack_caille // truncation: lamellar_stack_paracrystal - return star_polymer_kernel(q, rg_sq, int(arms + 0.5)); + return star_polymer_kernel(q, rg_sq, (int)(arms + 0.5)); }