Skip to content

Commit

Permalink
adding lambda to resolve initialising issue
Browse files Browse the repository at this point in the history
  • Loading branch information
maxecharles committed Nov 13, 2023
1 parent 93d54a0 commit 5da2093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dLuxToliman/layers/detector_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__all__ = ["GaussianJitter", "SHMJitter"]

Image = lambda: dLux.images.Image
DetectorLayer = dLux.layers.detector_layers.DetectorLayer
DetectorLayer = lambda: dLux.layers.detector_layers.DetectorLayer


class BaseJitter(DetectorLayer()):
Expand Down

0 comments on commit 5da2093

Please sign in to comment.