From 3c499497b55fbc4b17ae5edd0a3ba24e73346d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Galy-Fajou?= Date: Wed, 24 Nov 2021 18:32:19 +0100 Subject: [PATCH] Fix typo in valid_inputs error (#408) * Fix typo in valid_inputs error * Update src/utils.jl Co-authored-by: David Widmann Co-authored-by: David Widmann --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 7eea4358c..75dd62110 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -178,7 +178,7 @@ function validate_inputs(x, y) if dim(x) != dim(y) # Passes by default if `dim` is not defined throw( DimensionMismatch( - "Dimensionality of x ($(dim(x))) not equality to that of y ($(dim(y)))" + "dimensionality of x ($(dim(x))) is not equal to that of y ($(dim(y)))" ), ) end