Skip to content

Commit 2594ea1

Browse files
committed
doc updates
1 parent d8aa030 commit 2594ea1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/src/highlevel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ methods.
1111
@parameters
1212
@variables
1313
@derivatives
14-
Base.:~(::Expression, ::Expression)
14+
Base.:~(::Num, ::Num)
1515
modelingtoolkitize
1616
```
1717

docs/src/tutorials/auto_parallel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Automated Sparse Parallelism of ODEs via Tracing
22

3-
Because the ModelingToolkit `Expression` types obey Julia semantics, one can
3+
Because the ModelingToolkit expressions obey Julia semantics, one can
44
directly transform existing Julia functions into ModelingToolkit symbolic
55
representations of the function by simply inputting the symbolic values into
66
the function and using what is returned. For example, let's take [the following

docs/src/tutorials/symbolic_functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ want to create the sparse version of `A` we would just call `sparse`:
5959
using SparseArrays
6060
spA = sparse(A)
6161

62-
3×3 SparseMatrixCSC{Expression,Int64} with 4 stored entries:
62+
3×3 SparseMatrixCSC{Num,Int64} with 4 stored entries:
6363
[1, 1] = (x ^ 2) + y
6464
[3, 1] = (y ^ 2) + x
6565
[1, 3] = 2 * x
@@ -316,7 +316,7 @@ like:
316316
```julia
317317
ModelingToolkit.jacobian([x+x*y,x^2+y],[x,y])
318318

319-
2×2 Array{Expression,2}:
319+
2×2 Array{Num,2}:
320320
1 + y x
321321
2x Constant(1)
322322
```

0 commit comments

Comments
 (0)