From b7df3359fc6511b7acedae90fbc4077b015d9c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Galy-Fajou?= Date: Thu, 18 Nov 2021 17:24:17 +0100 Subject: [PATCH 1/2] Fix typo in valid_inputs error --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 7eea4358c..6a9915d86 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))) not equal to that of y ($(dim(y)))" ), ) end From 2228ddb6f297918de906317ad5a594f4f3cca114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Galy-Fajou?= Date: Wed, 24 Nov 2021 18:03:50 +0100 Subject: [PATCH 2/2] Update src/utils.jl 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 6a9915d86..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 equal to that of y ($(dim(y)))" + "dimensionality of x ($(dim(x))) is not equal to that of y ($(dim(y)))" ), ) end