Skip to content

Commit

Permalink
Fix covariances.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmabus committed Nov 28, 2022
1 parent 8756059 commit f1d3887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skfda/misc/covariances.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

def _squared_norms(x: NDArrayFloat, y: NDArrayFloat) -> NDArrayFloat:
return ( # type: ignore[no-any-return]
(x[np.newaxis, :, :] - y[:, np.newaxis, :]) ** 2
(x[:, np.newaxis, :] - y[np.newaxis, :, :]) ** 2
).sum(2)


Expand Down

0 comments on commit f1d3887

Please sign in to comment.