Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mhliu0001 committed Sep 29, 2024
1 parent 9f9da11 commit 8967676
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions appletree/components/yields.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ def __init__(self, *args, **kwargs):

self.register(apt.plugins.MonoEnergiesSpectra)
self.register(apt.plugins.TotalQuanta)
self.register(apt.plugins.EField)
self.register(apt.plugins.ThomasImelBox)
self.register(apt.plugins.QyNR)
self.register(apt.plugins.LyNR)
Expand All @@ -21,6 +22,7 @@ def __init__(self, *args, **kwargs):

self.register(apt.plugins.UniformEnergiesSpectra)
self.register(apt.plugins.TotalQuanta)
self.register(apt.plugins.EField)
self.register(apt.plugins.ThomasImelBox)
self.register(apt.plugins.QyNR)
self.register(apt.plugins.LyNR)
Expand Down
2 changes: 1 addition & 1 deletion appletree/plugins/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def simulate(self, key, parameters, x, y):
class EField(Plugin):
depends_on = ["x", "y", "z"]
provides = ["field"]
parameters = ["field"]
parameters = ("field",)

@partial(jit, static_argnums=(0,))
def simulate(self, key, parameters, x, y, z):
Expand Down

0 comments on commit 8967676

Please sign in to comment.