Skip to content

Commit

Permalink
Update qutip/utilities.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericgig committed May 13, 2024
1 parent 78ca4a2 commit e806272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qutip/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def clebsch(j1, j2, j3, m1, m2, m3):
C = np.sqrt((2.0 * j3 + 1.0)*_to_long(c_factor))

s_factors = np.zeros(((vmax + 1 - vmin), (int(j1 + j2 + j3))), np.int32)
# `S` and `C` are large integer, if `sign` is a np.int32 it could oveflow
# `S` and `C` are large integer,s if `sign` is a np.int32 it could oveflow
sign = int((-1) ** (vmin + j2 + m2))
for i,v in enumerate(range(vmin, vmax + 1)):
factor = s_factors[i,:]
Expand Down

0 comments on commit e806272

Please sign in to comment.