You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
number into integer: 'double' to 'bool' [-Wfloat-conversion]
plastic_yielding = numbers::signaling_nan<double>();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/ASPECT/VisualStudioCode/aspect/source/material_model/visco_plastic.cc:263:34: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
plastic_yielding = numbers::signaling_nan<double>();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/ASPECT/VisualStudioCode/aspect/source/material_model/visco_plastic.cc:446:36: note: in instantiation of member function 'aspect::MaterialModel::ViscoPlastic<2>::evaluate' requested here
ASPECT_REGISTER_MATERIAL_MODEL(ViscoPlastic,
^
/Applications/ASPECT/VisualStudioCode/aspect/source/material_model/visco_plastic.cc:263:34: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
plastic_yielding = numbers::signaling_nan<double>();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plastic_yielding is a boolean, but it's initialized with a signaling_nan. Is there another signal that it can be initialized with?
The text was updated successfully, but these errors were encountered:
On Mac I get the following compiler warnings:
plastic_yielding is a boolean, but it's initialized with a signaling_nan. Is there another signal that it can be initialized with?
The text was updated successfully, but these errors were encountered: