Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos authored Nov 20, 2024
1 parent 1789710 commit cf3ce68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/planar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ Vfib = (Vect[FibonacciAnyon](:I => 1, :τ => 2),
@test scalartype(t2) == ComplexF64
@test storagetype(t2) == Vector{ComplexF64}

V2 = reverse(codomain(W)) domain(V1)
@test_throws SpaceMismatch BraidingTensor(V2)
W2 = reverse(codomain(W)) domain(W)
@test_throws SpaceMismatch BraidingTensor(W2)

@test adjoint(t1) isa BraidingTensor

Expand Down

0 comments on commit cf3ce68

Please sign in to comment.