From 34f85744ce0dd8cdf7cb07a7a63a8ebc215c4dc1 Mon Sep 17 00:00:00 2001 From: Szymon Date: Tue, 12 Nov 2024 17:59:19 +0100 Subject: [PATCH] Update lib/scholar/covariance/utils.ex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Krsto Proroković --- 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 e5b62be6..3997bd48 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)