From bb6ed61d14532d2efecab15bc5e3799688271078 Mon Sep 17 00:00:00 2001 From: William Moses Date: Sat, 4 Jan 2025 15:37:42 -0500 Subject: [PATCH] Update array.jl --- test/array.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/array.jl b/test/array.jl index 5fd13bb7b5..c246cc5e1e 100644 --- a/test/array.jl +++ b/test/array.jl @@ -2,7 +2,7 @@ using Enzyme, Test function ptrcopy(B, A) @static if VERSION < v"1.11" - Base.unsafe_copyto!(B, A, 2) + Base.unsafe_copyto!(B, 1, A, 1, 2) else Base.unsafe_copyto!(B.ref, A.ref, 2) end @@ -22,4 +22,4 @@ end @test dB[1] === dA1 @test dB[2] === dA2 -end \ No newline at end of file +end