Skip to content

Commit

Permalink
🐛
Browse files Browse the repository at this point in the history
#901 rho setter
  • Loading branch information
Marco-Pellegrino committed Nov 23, 2023
1 parent 9da089e commit d0d4685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FemDesign.Core/Materials/MaterialBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public partial class MaterialBase
public double Mass
{
get { return _mass; }
set { RestrictedDouble.NonNegMax_1e20(value); } // non_neg_max_1e20
set { _mass = RestrictedDouble.NonNegMax_1e20(value); } // non_neg_max_1e20
}

[XmlAttribute("E_0")]
Expand Down

0 comments on commit d0d4685

Please sign in to comment.