Fixed kernel_decorator with config parameter
Files
2- Jan Hönig authored
+ 32
− 28
@@ -7,11 +7,12 @@ import sympy as sp
@@ -7,11 +7,12 @@ import sympy as sp
def kernel(func: Callable[..., None], return_config: bool = False, **kwargs) -> Union[List[Assignment], Dict]:
Changes the meaning of the '@=' operator. Each line containing this operator gives a symbolic assignment
@@ -21,8 +22,8 @@ def kernel(func: Callable[..., None], return_config: bool = False, **kwargs) ->
@@ -21,8 +22,8 @@ def kernel(func: Callable[..., None], return_config: bool = False, **kwargs) ->
The decorated function may not receive any arguments, with exception of an argument called 's' that specifies
return_config: Specify whether to return the list with assignments, or a dictionary containing additional settings
@@ -34,31 +35,34 @@ def kernel(func: Callable[..., None], return_config: bool = False, **kwargs) ->
@@ -34,31 +35,34 @@ def kernel(func: Callable[..., None], return_config: bool = False, **kwargs) ->