Skip to content

Commit 44fe308

Browse files
shreyas-tiruvaskarShreyas Tiruvaskar
andauthored
Fix error in sams/components (#117)
* Fixing errors in param_spaces_classic.py * Fix bug in sams/components.py --------- Co-authored-by: Shreyas Tiruvaskar <sti50@bohr.canterbury.ac.nz>
1 parent 2aaebaa commit 44fe308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

holodeck/sams/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _phi_func(self, redz):
164164
def _mchar_func(self, redz):
165165
"""See: [Chen2019]_ Eq.10 - NOTE: added `redz` term
166166
"""
167-
return self._mchar0 + self._mcharz * redz
167+
return self._mchar0 * np.power(10, self._mcharz * redz)
168168

169169
def _alpha_func(self, redz):
170170
"""See: [Chen2019]_ Eq.11

0 commit comments

Comments
 (0)