Skip to content
Snippets Groups Projects
Commit 51764bcc authored by Stephen Nicholas Swatman's avatar Stephen Nicholas Swatman Committed by Adam Edward Barton
Browse files

Remove charge cache in pattern parameters

Currently, we're storing the charge value of the pattern track
parameters in a cached value, but this is not really necessary.
Computing the charge is so trivial and fast (from the q/p value) that
there really is no reason to cache this. We use the lazy binding
behaviour of the charge method to simply recompute on the fly.
parent f23762a3
No related branches found
No related tags found
No related merge requests found
Loading
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