Skip to content

Commit

Permalink
Fixing function isequal for the case of SphericalHelmholtz
Browse files Browse the repository at this point in the history
  • Loading branch information
pivaps committed Feb 7, 2024
1 parent 41f0855 commit 442ed1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shapes/sphere.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function isequal(c1::Sphere, c2::Sphere)
end

function isequal(c1::SphericalHelmholtz, c2::SphericalHelmholtz)
isequal(c1.origin, c2.origin) && isequal(c1.radius, c2.radius)
isequal(c1.origin, c2.origin) && isequal(c1.radius, c2.radius) && s1.aperture == s1.aperture
end

function iscongruent(s1::Sphere, s2::Sphere)
Expand Down

0 comments on commit 442ed1e

Please sign in to comment.