Skip to content

Commit e09ee57

Browse files
committed
Updated docstring.
1 parent 6e72a04 commit e09ee57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utils/build_function.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ fix_create_array(s)
203203
204204
# output
205205
206-
"SymbolicUtils.Code.create_array(Array"
206+
"SymbolicUtils.Code.create_array(typeof(sinput)"
207207
```
208208
209209
# Implementation

test/test_allocations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ end
9191

9292
expr = optimize_code!(expr)
9393

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

9696

9797
func = @RuntimeGeneratedFunction(Symbolics.inject_registered_module_functions(expr))

0 commit comments

Comments
 (0)