Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saschatimme committed Nov 14, 2017
1 parent 9d0809f commit fd3074c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/poly_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@
@test ishomogenous(p) == true
@test string(homogenize(Polynomial([1 1; 0 2], [-2.0, 3.0]))) == "-2.0x₀²x₁+3.0x₁x₂²"
@test ishomogenized(p) == false
@test ishomogenized(homogenize(p)) == true
@test ishomogenized(homogenize(p)) == false
@test dehomogenize(p) == p
@test dehomogenize(homogenize(p)) == p
@test dehomogenize(homogenize(homogenize(p))) == p

exponents(homogenize(p))[2:end, :]
#exponents(homogenize(p))[2:end, :]

f = Polynomial([2 1 0;0 1 2], [3.0, 2.0, -1.0])
g = Polynomial([2 1 0;0 1 2], [-2.5+2im,-3.0, 4.0])
Expand Down

0 comments on commit fd3074c

Please sign in to comment.