From 5bd32d1a7cb6d7c5e3dd77547bb02cc485bee614 Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Mon, 7 Aug 2023 08:33:25 +0200 Subject: [PATCH] replace deprecated get_symbolify by get_rewrites MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I found this when looking at precompilation warnings ``` 1 dependency had warnings during precompilation: ┌ Symbolics [0c5d862f-8b57-4792-8d23-62f2024744c7] │ WARNING: Code.get_symbolify is deprecated, use get_rewrites instead. │ likely near /home/runner/.julia/packages/Symbolics/BQlmn/src/build_function.jl:130 └ ``` in https://github.com/ranocha/BSeries.jl/pull/153 --- src/build_function.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build_function.jl b/src/build_function.jl index 457078c95..7dc3ac7c8 100644 --- a/src/build_function.jl +++ b/src/build_function.jl @@ -127,7 +127,7 @@ function _build_function(target::JuliaTarget, op, args...; end end -SymbolicUtils.Code.get_symbolify(x::Arr) = SymbolicUtils.Code.get_symbolify(unwrap(x)) +SymbolicUtils.Code.get_rewrites(x::Arr) = SymbolicUtils.Code.get_rewrites(unwrap(x)) function _build_function(target::JuliaTarget, op::Union{Arr, ArrayOp}, args...; conv = toexpr,