Skip to content

Commit 511a805

Browse files
committed
Fix to account for PR#259
1 parent 7e259fd commit 511a805

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

page/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ As their types are different:
7474

7575
(see [this post](https://discourse.julialang.org/t/ann-symbolicutils-jl-groundwork-for-a-symbolic-ecosystem-in-julia/38455/13?u=shashi) for why they are all not just subtypes of `Number`)
7676

77-
Julia automatically simplifies
77+
SymbolicUtils automatically simplifies
7878

7979
```julia:creating1
8080
2w + 3w - 3z + α
@@ -86,7 +86,7 @@ and reorders
8686
(z + w)*(α + β)
8787
```
8888

89-
expressions of `Symbolic{<:Any}` (which include `Sym{Number}` and `Sym{Real}`) when they are created. It also does constant elimination (including rational numbers)
89+
expressions of `Symbolic{<:Number}` (which includes `Sym{Real}`) when they are created. It also does constant elimination (including rational numbers)
9090

9191
```julia:creating3
9292
5 + 2w - 3z + α - (β + 5//3) + 3w - 2 + 3//2 * β
@@ -151,7 +151,7 @@ SymbolicUtils contains [a rule-based rewriting language](/rewrite/#rule-based_re
151151

152152
By default `*` and `+` operations apply the most basic simplification upon construction of the expression.
153153

154-
Commutativity and associativity are assumed over `+` and `*` operations on `Symbolic{<:Any}` at the moment.
154+
Commutativity and associativity are assumed over `+` and `*` operations on `Symbolic{<:Number}`.
155155

156156
```julia:simplify1
157157
2 * (w+w+α+β + sin(z)^2 + cos(z)^2 - 1)

0 commit comments

Comments
 (0)