From 1e0cbbdba6b646e9c2ac1801f29980f2ba6087a9 Mon Sep 17 00:00:00 2001 From: Arnav Kapoor Date: Mon, 27 Jul 2026 15:49:31 +0530 Subject: [PATCH] reshape_array(a, dims) = reshape(a, dims) --- src/ADNLPProblems/ADNLPProblems.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ADNLPProblems/ADNLPProblems.jl b/src/ADNLPProblems/ADNLPProblems.jl index 23c40a033..24f9b8bc2 100644 --- a/src/ADNLPProblems/ADNLPProblems.jl +++ b/src/ADNLPProblems/ADNLPProblems.jl @@ -6,7 +6,7 @@ import ..OptimizationProblems: @adjust_nvar_warn const default_nvar = 100 const data_path = joinpath(@__DIR__, "..", "..", "data") -reshape_array(a, dims) = invoke(Base._reshape, Tuple{AbstractArray, typeof(dims)}, a, dims) +reshape_array(a, dims) = reshape(a, dims) const _data_loaded = Dict{Symbol, Ref{Bool}}() const _data_locks = Dict{Symbol, ReentrantLock}()