Skip to content

Commit

Permalink
replace deprecated get_symbolify by get_rewrites
Browse files Browse the repository at this point in the history
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 ranocha/BSeries.jl#153
  • Loading branch information
ranocha authored Aug 7, 2023
1 parent d0b1724 commit 5bd32d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build_function.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5bd32d1

Please sign in to comment.