Skip to content

Commit 1778b63

Browse files
authored
Merge pull request #506 from PyAutoLabs/feature/point-source-jax-viz
fix: AnalysisPoint.__init__ kwargs passthrough
2 parents 3c4fcc0 + a04a501 commit 1778b63

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

autolens/point/model/analysis.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def __init__(
4343
cosmology: ag.cosmo.LensingCosmology = None,
4444
title_prefix: str = None,
4545
use_jax: bool = True,
46+
**kwargs,
4647
):
4748
"""
4849
Fits a lens model to a point source dataset (e.g. positions, fluxes, time delays) via a non-linear search.
@@ -77,7 +78,7 @@ def __init__(
7778
A string that is added before the title of all figures output by visualization, for example to
7879
put the name of the dataset and galaxy in the title.
7980
"""
80-
super().__init__(cosmology=cosmology, use_jax=use_jax)
81+
super().__init__(cosmology=cosmology, use_jax=use_jax, **kwargs)
8182

8283
AnalysisLens.__init__(self=self, cosmology=cosmology, use_jax=use_jax)
8384

0 commit comments

Comments
 (0)