Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr committed Oct 8, 2024
1 parent 7dfbabb commit f8293a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basisvecs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ using Crystalline, Test, LinearAlgebra, StaticArrays
@test -k isa ReciprocalPoint{3}
@test 2.3k isa ReciprocalPoint{3} && 2.3k == 2.3s
@test 2.3r - r + 3r isa DirectPoint{3} && 2.3r - r + 3r 4.3r 4.3s
@test_throws r + k # cannot add ReciprocalPoint to DirectPoint
@test_throws ErrorException r + k # cannot add ReciprocalPoint to DirectPoint

# isapprox on near-zero-difference
a = 4.3r
Expand Down

0 comments on commit f8293a7

Please sign in to comment.