Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #982

Merged
merged 2 commits into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading