diff --git a/src/seismic_hazard_forecasting.py b/src/seismic_hazard_forecasting.py index a5c43ac..6fc5d73 100644 --- a/src/seismic_hazard_forecasting.py +++ b/src/seismic_hazard_forecasting.py @@ -81,6 +81,7 @@ def main(catalog_file, mc_file, pdf_file, m_file, m_select, mag_label, mc, m_max m_range = [None] else: m_range = read_mat_m(m_file) + m_max = m_range[-1] # take m_max from the m_file if verbose: logger.setLevel(logging.DEBUG)