diff --git a/Project.toml b/Project.toml index 60af4dd..6d9a023 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "SymPy" uuid = "24249f21-da20-56a4-8eb1-6a02cf4ae2e6" -version = "1.1.7" +version = "1.1.8" [deps] CommonEq = "3709ef60-1bee-4518-9f2f-acd86f176c50" diff --git a/docs/src/Tutorial/basic_operations.md b/docs/src/Tutorial/basic_operations.md index d06fcac..907a4a6 100644 --- a/docs/src/Tutorial/basic_operations.md +++ b/docs/src/Tutorial/basic_operations.md @@ -515,7 +515,7 @@ julia> ex = sin(x)^2 + x^2 x + sin (x) julia> body = convert(Expr, ex) -:(x ^ 2 + sin(x) ^ 2) +:(SymPy.__POW__(x, 2) + SymPy.__POW__(sin(x), 2)) julia> syms = Symbol.(free_symbols(ex)) 1-element Vector{Symbol}: diff --git a/src/utils.jl b/src/utils.jl index 8441488..5781744 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -196,7 +196,7 @@ g(2⋅x) """ doit(ex::T; deep::Bool=false) where {T<:SymbolicObject} = ex.doit(deep=deep) -doit(; deep::Bool=false) where {T<:SymbolicObject} = ex -> doit(ex, deep=deep) +doit(; deep::Bool=false) = ex -> doit(ex, deep=deep) ## simplify(ex::SymbolicObject, ...) is exported """