Skip to content

Commit

Permalink
Why does @independent_variable not work in the docs example?
Browse files Browse the repository at this point in the history
  • Loading branch information
TS-CUBED committed Oct 5, 2024
1 parent 8f8fcc2 commit 409d257
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/examples/BjordalsbakkeModel.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
"outputs": [],
"cell_type": "code",
"source": [
"@independent_variables t"
"@variables t"
],
"metadata": {},
"execution_count": null
Expand Down
2 changes: 1 addition & 1 deletion docs/src/examples/BjordalsbakkeModel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ kLV = 1 / maximum((t ./ Tau1fLV).^n1LV ./ (1 .+ (t ./ Tau1fLV).^n1LV) .* 1 ./ (1
#
# Set up time as a variable `t`
#
@independent_variables t
@variables t

# Heart is modelled as a single chamber (we call it `LV` for "Left Ventricle" so the model can be extended later, if required):
#
Expand Down
2 changes: 1 addition & 1 deletion docs/src/examples/BjordalsbakkeModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ kLV = 1 / maximum((t ./ Tau1fLV).^n1LV ./ (1 .+ (t ./ Tau1fLV).^n1LV) .* 1 ./ (1
Set up time as a variable `t`

````@example BjordalsbakkeModel
@independent_variables t
@variables t
````

Heart is modelled as a single chamber (we call it `LV` for "Left Ventricle" so the model can be extended later, if required):
Expand Down

0 comments on commit 409d257

Please sign in to comment.