Skip to content

Commit 04b66e8

Browse files
committed
fix error message
1 parent 81b00fa commit 04b66e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validation/functions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ push!(VALIDATE_DICT, :distance => (validate_distance, (1, 2, :p)))
106106
function validate_exponential_map(M::AbstractMatrix, X::LazySet)
107107
m, n = size(M)
108108
if m != n
109-
throw(DimensionMismatch("`exponential_map` requires a quadratic matrix " *
109+
throw(DimensionMismatch("`exponential_map` requires a square matrix " *
110110
"but received a matrix of size $m × $n"))
111111
end
112112
return validate_map_dim(M, X; fun=exponential_map)

0 commit comments

Comments
 (0)