Skip to content

Commit

Permalink
Updated docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
benedict-96 committed Dec 3, 2024
1 parent 6e72a04 commit e09ee57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/build_function.jl
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ fix_create_array(s)
# output
"SymbolicUtils.Code.create_array(Array"
"SymbolicUtils.Code.create_array(typeof(sinput)"
```
# Implementation
Expand Down
2 changes: 1 addition & 1 deletion test/test_allocations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ end

expr = optimize_code!(expr)

expr = Meta.parse(replace(string(expr), "SymbolicUtils.Code.create_array(Array, nothing, Val{1}(), Val{(2,)}()," => "(" ))
expr = Meta.parse(replace(string(expr), "SymbolicUtils.Code.create_array(typeof(sinput), nothing, Val{1}(), Val{(2,)}()," => "(" ))


func = @RuntimeGeneratedFunction(Symbolics.inject_registered_module_functions(expr))
Expand Down

0 comments on commit e09ee57

Please sign in to comment.