From d087d93121d9082603cee3aca2b118f4bb081672 Mon Sep 17 00:00:00 2001 From: Libo Shen Date: Sun, 21 Feb 2021 14:52:18 +0000 Subject: [PATCH] Add space in defn error message --- nx/lib/nx/defn/expr.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/lib/nx/defn/expr.ex b/nx/lib/nx/defn/expr.ex index cd8ee26c3c..33c3cb8831 100644 --- a/nx/lib/nx/defn/expr.ex +++ b/nx/lib/nx/defn/expr.ex @@ -356,7 +356,7 @@ defmodule Nx.Defn.Expr do tuple when is_tuple(tuple) -> raise ArgumentError, "defn functions expects either numbers or tensors as arguments. " <> - "If you want to pass a tuple, you must explicitly pattern match on the tuple in the signature" <> + "If you want to pass a tuple, you must explicitly pattern match on the tuple in the signature " <> "Got: #{inspect(tuple)}" other ->