File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1010
1111from parcels .application_kernels .advection import (
1212 AdvectionAnalytical ,
13+ AdvectionRK4 ,
1314 AdvectionRK45 ,
1415)
1516from parcels .basegrid import GridType
2425 _raise_time_extrapolation_error ,
2526)
2627from parcels .tools .warnings import KernelWarning
27- from tests .common_kernels import DoNothing
2828
2929if TYPE_CHECKING :
3030 from collections .abc import Callable
@@ -69,7 +69,7 @@ def __init__(
6969 for f in pyfuncs :
7070 if not isinstance (f , types .FunctionType ):
7171 raise TypeError (f"Argument pyfunc should be a function or list of functions. Got { type (f )} " )
72- _assert_same_function_signature (f , ref = DoNothing , context = "Kernel" )
72+ _assert_same_function_signature (f , ref = AdvectionRK4 , context = "Kernel" )
7373
7474 if len (pyfuncs ) == 0 :
7575 raise ValueError ("List of `pyfuncs` should have at least one function." )
You can’t perform that action at this time.
0 commit comments