Skip to content

Commit c6ae9c7

Browse files
Update README.md
1 parent 29e3b65 commit c6ae9c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ generated code via:
5454

5555
```julia
5656
using MacroTools
57-
myode_oop = generate_function(de, [x,y,z], [σ,ρ,β])[2] # first one is the out-of-place function
57+
myode_oop = generate_function(de, [x,y,z], [σ,ρ,β])[1] # first one is the out-of-place function
5858
MacroTools.striplines(myode_oop) # print without line numbers
5959

6060
#=

0 commit comments

Comments
 (0)