From b450197b6e7c93f04dcde1b20ba5fffd7f78460e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Mon, 18 Sep 2023 13:24:00 +0200 Subject: [PATCH] Update src/Matrix.jl Co-authored-by: Max Horn --- src/Matrix.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Matrix.jl b/src/Matrix.jl index da483b74a5..647fcc55d1 100644 --- a/src/Matrix.jl +++ b/src/Matrix.jl @@ -6821,7 +6821,7 @@ function matrix(arr::AbstractMatrix{T}) where {T<:NCRingElem} r, c = size(arr) (r < 0 || c < 0) && error("Array must be non-empty") R = parent(arr[1, 1]) - all(e -> parent(e) === R, arr) || errpr("Non-compatible elements") + all(e -> parent(e) === R, arr) || error("Non-compatible elements") return matrix(R, arr) end