Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
musvaage committed Sep 29, 2023
1 parent 05d8646 commit b559c6a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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 b559c6a

Please sign in to comment.