Commit a04a501
fix: add **kwargs passthrough to AnalysisPoint.__init__
AnalysisPoint's explicit __init__ omitted **kwargs, so any kwarg not
in its named-parameter list (notably use_jax_for_visualization from
the autofit base Analysis) raised TypeError instead of being forwarded
to super.
This left use_jax_for_visualization=True silently unusable on
al.AnalysisPoint despite the point visualizer dispatching via
fit_for_visualization (autolens/point/model/visualizer.py:67).
Mirrors the AnalysisInterferometer fix in PR #500.
The autolens_workspace_test point_source scripts (visualization.py,
visualization_jax.py, modeling_visualization_jit.py) follow in
PyAutoLabs/autolens_workspace_test#90 sibling PR.
ag.AnalysisInterferometer has the same **kwargs gap on the autogalaxy
side; deferred to Phase 1C of the JAX visualization roadmap.1 parent 3c4fcc0 commit a04a501
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
0 commit comments