Skip to content

Commit

Permalink
Update sdcflows/transform.py
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies authored Sep 27, 2023
1 parent 58ecbe7 commit 1d715a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdcflows/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 1d715a9

Please sign in to comment.