You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function in the test script has a float type argument, and neither function in the source specifies a float type argument. Based on naming convention, both functions with the same name model_ingredients_from_data are calling for string type arguments.
Julia throws MethodError and LoadError for this test script when the function is called.
The text was updated successfully, but these errors were encountered:
TheHelenofTroy
changed the title
Inconsistent function use in test scripts
Inconsistent function use in test_flight_interventions.jl
May 15, 2020
TheHelenofTroy
changed the title
Inconsistent function use in test_flight_interventions.jl
Unclear and inconsistent function used in test_flight_interventions.jl
May 15, 2020
In tests/test_flight_interventions.jl, the function model_ingredients_from_data is called multiple times, but none of which matches any of the two functions named model_ingredients_from_data in src/transmissionmodel.jl on https://github.com/SamuelBrand1/KenyaCoV/blob/master/src/transmissionmodel.jl#L66 and https://github.com/SamuelBrand1/KenyaCoV/blob/master/src/transmissionmodel.jl#L101.
The function in the test script has a float type argument, and neither function in the source specifies a float type argument. Based on naming convention, both functions with the same name model_ingredients_from_data are calling for string type arguments.
Julia throws MethodError and LoadError for this test script when the function is called.
The text was updated successfully, but these errors were encountered: