Skip to content

Commit

Permalink
Merge pull request #5257 from gassmoeller/fix_material_model
Browse files Browse the repository at this point in the history
Do not assign a signaling NaN to a bool
  • Loading branch information
bangerth committed Jul 11, 2023
2 parents d169894 + 512867f commit 5227a6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/material_model/visco_plastic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ namespace aspect
isostrain_viscosities.current_cohesions.clear();

out.viscosities[i] = numbers::signaling_nan<double>();
plastic_yielding = numbers::signaling_nan<double>();

if (MaterialModel::MaterialModelDerivatives<dim> *derivatives =
out.template get_additional_output<MaterialModel::MaterialModelDerivatives<dim>>())
Expand Down

0 comments on commit 5227a6e

Please sign in to comment.