From 0f7ab42ad480e918bf3f73311f87d62eb99f0f6e Mon Sep 17 00:00:00 2001 From: norm4nn Date: Tue, 19 Nov 2024 19:13:00 +0100 Subject: [PATCH] mix format --- lib/scholar/covariance/utils.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scholar/covariance/utils.ex b/lib/scholar/covariance/utils.ex index d1f79497..a6bff021 100644 --- a/lib/scholar/covariance/utils.ex +++ b/lib/scholar/covariance/utils.ex @@ -3,7 +3,7 @@ defmodule Scholar.Covariance.Utils do import Nx.Defn require Nx -defn center(x, assume_centered? \\ false) do + defn center(x, assume_centered? \\ false) do x = case Nx.shape(x) do {_} -> Nx.new_axis(x, 1)