Skip to content

Commit

Permalink
corrected comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiCheng45 committed Mar 6, 2025
1 parent 6fe6540 commit aaf3f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MDANSE/Src/MDANSE/Mathematics/Arithmetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_weights(

factor = atom_conc_product**conc_exp * property_product
# E.g. for property b_coh, 5 Cu atoms, 100 total atoms, and dim=2
# factor = (5*5/(100*100))**c_exp * b_coh(Cu)*b_coh(Cu)
# factor = (5*5/(100*100))**conc_exp * b_coh(Cu)*b_coh(Cu)

weights[elements] = np.float64(np.copy(factor))
normFactor += atom_conc_product * property_product
Expand Down

0 comments on commit aaf3f7c

Please sign in to comment.