Skip to content

Commit

Permalink
remove obsolete multiplication with 1.0 in get_sigma_tau
Browse files Browse the repository at this point in the history
  • Loading branch information
Spaak authored and twiecki committed Jun 5, 2021
1 parent c2aab56 commit 0b74aa8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pymc3/distributions/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,6 @@ def get_tau_sigma(tau=None, sigma=None):
else:
sigma = tau ** -0.5

# cast tau and sigma to float in a way that works for both np.arrays
# and pure python
tau = 1.0 * tau
sigma = 1.0 * sigma

return floatX(tau), floatX(sigma)


Expand Down

0 comments on commit 0b74aa8

Please sign in to comment.