diff --git a/src/tensorwaves/function/__init__.py b/src/tensorwaves/function/__init__.py index 39263092..f3a30392 100644 --- a/src/tensorwaves/function/__init__.py +++ b/src/tensorwaves/function/__init__.py @@ -106,7 +106,7 @@ def __init__( self.__parameters = dict(parameters) def __call__(self, data: DataSample) -> np.ndarray: - extended_data = {**data, **self.__parameters} # type: ignore[arg-type] + extended_data = {**self.__parameters, **data} # type: ignore[arg-type] return self.__function(extended_data) # type: ignore[arg-type] @property