Skip to content

Commit 2e7d042

Browse files
Spaaktwiecki
authored andcommitted
remove obsolete multiplication with 1.0 in get_sigma_tau
1 parent e9f2e96 commit 2e7d042

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pymc3/distributions/continuous.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,6 @@ def get_tau_sigma(tau=None, sigma=None):
171171
else:
172172
sigma = tau ** -0.5
173173

174-
# cast tau and sigma to float in a way that works for both np.arrays
175-
# and pure python
176-
tau = 1.0 * tau
177-
sigma = 1.0 * sigma
178-
179174
return floatX(tau), floatX(sigma)
180175

181176

0 commit comments

Comments
 (0)