Skip to content

Commit

Permalink
Merge pull request #110 from mila-iqia/hotfix
Browse files Browse the repository at this point in the history
Fix match case.
  • Loading branch information
rousseab authored Dec 3, 2024
2 parents 2f6bbb3 + 7919c6e commit 505a833
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ def load_sampling_parameters(
assert algorithm in [
"ode",
"sde",
"adaptive_corrector",
"predictor_corrector",
], "Unknown algorithm. Possible choices are 'ode', 'sde' and 'predictor_corrector'"
], "Unknown algorithm. Possible choices are 'ode', 'sde', 'predictor_corrector' and 'adaptive_corrector'"

match algorithm:
case "predictor_corrector":
case "predictor_corrector" | "adaptive_corrector":
sampling_parameters = PredictorCorrectorSamplingParameters(
**sampling_parameter_dictionary
)
Expand Down

0 comments on commit 505a833

Please sign in to comment.