Skip to content

Commit

Permalink
Merge pull request #982 from vaerksted/master
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
ChrisRackauckas authored Oct 1, 2023
2 parents 626c9cb + 2a5a9d6 commit 0c91be9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

Symbolics.jl is a fast and modern Computer Algebra System (CAS) for a fast and modern
programming language (Julia). The goal is to have a high-performance and parallelized
symbolic algebra system that is directly extendable in the same language as the users.
symbolic algebra system that is directly extendable in the same language as that of the
users.

## Installation

Expand Down
3 changes: 2 additions & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

Symbolics.jl is a fast and modern Computer Algebra System (CAS) for a fast and modern
programming language (Julia). The goal is to have a high-performance and parallelized
symbolic algebra system that is directly extendable in the same language as the user's.
symbolic algebra system that is directly extendable in the same language as that of the
users.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion src/semipoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import SymbolicUtils: unsorted_arguments
"""
$(TYPEDEF)
# Attrtibutes
# Attributes
$(TYPEDFIELDS)
"""
struct SemiMonomial
Expand Down
2 changes: 1 addition & 1 deletion src/solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function solve_system_eq(equs::Vector{Equation}, vars)

solutions = Dict()

#re subsititute the variables back in to find value
#re substitute the variables back in to find value
for i = length(removed):-1:1
current_eq = substitute(removed[i], solutions)
solutions[current_eq.lhs] = current_eq.rhs
Expand Down
2 changes: 1 addition & 1 deletion test/semipoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ using Random
@test isequal(d, Dict(1 => 1 << 12, x => (1 << 11) * 12))
end

@testset "maintein SymbolicUtils.Symbolic subtype" begin
@testset "maintain SymbolicUtils.Symbolic subtype" begin
pow_expr = 7^(3y + sin(y))
@test SymbolicUtils.ispow(Symbolics.unwrap(pow_expr))
dict, nl = semipolynomial_form(pow_expr, [y], Inf)
Expand Down

0 comments on commit 0c91be9

Please sign in to comment.