Update src/seismic_hazard_forecasting.py
This commit is contained in:
@@ -185,7 +185,7 @@ def compute_IMT_exceedance(rx_lat, rx_lon, r, fr, p, lambdas, D, percentages_D,
|
|||||||
start = timer()
|
start = timer()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
method='brentq'
|
method='bisect'
|
||||||
logger.debug("Now trying Scipy " + method)
|
logger.debug("Now trying Scipy " + method)
|
||||||
output = root_scalar(exceedance_root_function, bracket=[IMT_min, IMT_max], rtol=rtol, method=method)
|
output = root_scalar(exceedance_root_function, bracket=[IMT_min, IMT_max], rtol=rtol, method=method)
|
||||||
gm_est = output.root
|
gm_est = output.root
|
||||||
|
Reference in New Issue
Block a user