Skip to content
Snippets Groups Projects
Verified Commit 155c8308 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix comparison (isapprox) for PMT

parent 6addc402
No related branches found
No related tags found
1 merge request!34Draft: Detector toolkit
......@@ -21,6 +21,7 @@ function Base.isapprox(lhs::PMT, rhs::PMT; kwargs...)
for field in [:pos, :dir, :t₀]
isapprox(getfield(lhs, field), getfield(rhs, field); kwargs...) || return false
end
true
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment