enable cython #19

Merged
asia merged 6 commits from ftong-patch-cython into master 2025-07-10 09:36:23 +02:00
Showing only changes of commit 5b25b93090 - Show all commits

View File

@@ -320,8 +320,8 @@ verbose: {verbose}")
lambdas = [None] lambdas = [None]
if custom_rate != None and forecast_select: if custom_rate != None and forecast_select:
logger.info(f"Using activity rate specified by user: {custom_rate} per {time_unit}") logger.info(f"Using activity rate specified by user: {custom_rate} per {time_unit}")
lambdas = [custom_rate] lambdas = np.array([custom_rate], dtype='d')
lambdas_perc = [1] lambdas_perc = np.array([1], dtype='d')
elif rate_select: elif rate_select:
logger.info(f"Activity rate modeling selected") logger.info(f"Activity rate modeling selected")