You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ You can modify the list of AD types in `main.jl`.
15
15
You can modify the list of models by adding a new file inside the `models` directory.
16
16
This file should contain the model definition, and call the `@register` macro to register the model with the `ADTests` package.
17
17
See the existing files in that directory for examples.
18
+
Then, make sure to `include` the new source file in `main.jl`.
18
19
19
20
To make sure that the definition is included in the final website, you will have to make sure that the filename is the same as the model name (i.e. a model `@model function f()` is in `models/f.jl`).
0 commit comments