From 858f9b5b0e31d4f01e3eb2f77fc4a3d11911d2b5 Mon Sep 17 00:00:00 2001 From: Chris Elrod Date: Thu, 26 Jan 2023 08:49:43 -0500 Subject: [PATCH] Remove invalidating deepcopy definition --- Project.toml | 2 +- src/larray.jl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index fdfb7d8..6322558 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LabelledArrays" uuid = "2ee39098-c373-598a-b85f-a56591580800" authors = ["Chris Rackauckas "] -version = "1.12.5" +version = "1.12.6" [deps] ArrayInterfaceCore = "30b0a656-2188-435a-8636-2ec0e6a096e2" diff --git a/src/larray.jl b/src/larray.jl index ec811db..e682750 100644 --- a/src/larray.jl +++ b/src/larray.jl @@ -130,7 +130,6 @@ end # Allow copying LArray of uninitialized data, as with regular Array Base.copy(x::LArray) = typeof(x)(copy(getfield(x, :__x))) -Base.deepcopy(x::LArray) = typeof(x)(deepcopy(getfield(x, :__x))) Base.copyto!(x::LArray, y::LArray) = copyto!(getfield(x, :__x), getfield(y, :__x)) # enable the usage of LAPACK