Skip to content

Commit 2f751fa

Browse files
authored
Update Validation.md
Typo corrections.
1 parent d417a2c commit 2f751fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/basics/Validation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ w(t), [unit = "Hz"]
2020
end)
2121

2222
# Simultaneously set default value (use plain numbers, not quantities)
23-
@variable x=10 [unit = u"m"]
23+
@variables x=10 [unit = u"m"]
2424

2525
# Symbolic array: unit applies to all elements
26-
@variable x[1:3] [unit = u"m"]
26+
@variables x[1:3] [unit = u"m"]
2727
```
2828

2929
Do not use `quantities` such as `1u"s"`, `1/u"s"` or `u"1/s"` as these will result in errors; instead use `u"s"`, `u"s^-1"`, or `u"s"^-1`.

0 commit comments

Comments
 (0)