diff --git a/sdcflows/transform.py b/sdcflows/transform.py index 2be476ae21..77ac1687e1 100644 --- a/sdcflows/transform.py +++ b/sdcflows/transform.py @@ -321,7 +321,7 @@ def fit( # Generate tensor-product B-Spline weights colmat = sparse_hstack( - [grid_bspline_weights(target_reference, level) for level in coeffs] + [grid_bspline_weights(projected_reference, level) for level in coeffs] ).tocsr() coefficients = np.hstack( [level.get_fdata(dtype="float32").reshape(-1) for level in coeffs]