Fix the calculation of MgCl_2
Merge pull request #38076 from xymostech/master

Fix the MgCl_2 weight calculation