File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ subroutine f_aero_particle_frozen( &
528528
529529 type (aero_particle_t), pointer :: aero_particle_ptr_f = > null ()
530530 type (c_ptr), intent (in ) :: aero_particle_ptr_c
531- integer (c_int ), intent (out ) :: is_frozen
531+ logical (c_bool ), intent (out ) :: is_frozen
532532
533533 call c_f_pointer(aero_particle_ptr_c, aero_particle_ptr_f)
534534
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ extern "C" void f_aero_particle_greatest_create_time(const void *aero_particle_p
4242extern " C" void f_aero_particle_least_create_time (const void *aero_particle_ptr, double *val) noexcept ;
4343extern " C" void f_aero_particle_get_component_sources (const void *aero_particle_ptr, void *arr_data, const int *arr_size) noexcept ;
4444extern " C" void f_aero_particle_id (const void *aero_particle_ptr, int64_t *val) noexcept ;
45- extern " C" void f_aero_particle_frozen (const void *aero_particle_ptr, int *val) noexcept ;
45+ extern " C" void f_aero_particle_frozen (const void *aero_particle_ptr, bool *val) noexcept ;
4646extern " C" void f_aero_particle_refract_shell (const void *aero_particle_ptr, std::complex <double > *val, const int *arr_size) noexcept ;
4747extern " C" void f_aero_particle_refract_core (const void *aero_particle_ptr, std::complex <double > *val, const int *arr_size) noexcept ;
4848extern " C" void f_aero_particle_set_weight_class (void *ptr, const int *weight_class) noexcept ;
@@ -259,7 +259,7 @@ struct AeroParticle {
259259 }
260260
261261 static auto is_frozen (const AeroParticle &self) {
262- return pypartmc::get_value<int >(self, f_aero_particle_frozen);
262+ return pypartmc::get_value<bool >(self, f_aero_particle_frozen);
263263 }
264264
265265 static auto refract_shell (const AeroParticle &self) {
You can’t perform that action at this time.
0 commit comments