Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
hpparvi committed Jun 3, 2021
2 parents 90989b4 + ca1af42 commit 2bba40b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ldtk/ldmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"""

from numba import njit
from numpy import ndarray, sqrt, zeros, power, exp, log
from numpy import ndarray, sqrt, zeros, power, exp, log, log2


# Model implementations
Expand Down Expand Up @@ -96,7 +96,7 @@ def ld_power_2(mu, pv):
@njit(fastmath=True)
def ld_power_2_pm(mu, pv):
c = 1 - pv[0] + pv[1]
a = log(c/pv[1])
a = log2(c/pv[1])
return 1. - c * (1. - mu**a)


Expand Down
2 changes: 1 addition & 1 deletion ldtk/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

from semantic_version import Version

__version__ = Version('1.6.2')
__version__ = Version('1.6.3')

0 comments on commit 2bba40b

Please sign in to comment.