@@ -83,15 +83,15 @@ int main(const int argc, const char* const* argv) {
8383 long double lowerBound ;
8484 check_status (
8585 mgis_bv_behaviour_get_lower_bound (& lowerBound , b , "YoungModulus" ));
86- check (fabs (lowerBound - yg_min ) < eps * yg_min ,
86+ check (fabsl (lowerBound - yg_min ) < eps * yg_min ,
8787 "invalid lower bound for 'YoungModulus'" );
8888 int hasUpperBound ;
8989 check_status (mgis_bv_behaviour_has_upper_bound (& hasUpperBound , b , "YoungModulus" ));
9090 check (hasUpperBound , "'YoungModulus' shall have an upper bound" );
9191 long double upperBound ;
9292 check_status (
9393 mgis_bv_behaviour_get_upper_bound (& upperBound , b , "YoungModulus" ));
94- check (fabs (upperBound - yg_max ) < eps * yg_max ,
94+ check (fabsl (upperBound - yg_max ) < eps * yg_max ,
9595 "invalid upper bound for 'YoungModulus'" );
9696 // physical bounds
9797 int hasPhysicalBounds ;
@@ -103,7 +103,7 @@ int main(const int argc, const char* const* argv) {
103103 long double lowerPhysicalBound ;
104104 check_status (mgis_bv_behaviour_get_lower_physical_bound (& lowerPhysicalBound ,
105105 b , "YoungModulus" ));
106- check (fabs (lowerPhysicalBound ) < eps * yg_min ,
106+ check (fabsl (lowerPhysicalBound ) < eps * yg_min ,
107107 "invalid physical lower bound for 'YoungModulus'" );
108108 int hasUpperPhysicalBound ;
109109 check_status (mgis_bv_behaviour_has_upper_physical_bound (& hasUpperPhysicalBound , b , "YoungModulus" ));
0 commit comments