Skip to content

Commit

Permalink
fix preloading by adding adapt_images to refit_with_preloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Dec 23, 2023
1 parent 1273e19 commit 0178cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions autolens/imaging/fit_imaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ def refit_with_new_preloads(
return FitImaging(
dataset=self.dataset,
tracer=self.tracer,
adapt_images=self.adapt_images,
settings_inversion=settings_inversion,
preloads=preloads,
run_time_dict=run_time_dict,
Expand Down
1 change: 1 addition & 0 deletions autolens/interferometer/fit_interferometer.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ def refit_with_new_preloads(
return FitInterferometer(
dataset=self.interferometer,
tracer=self.tracer,
adapt_images=self.adapt_images,
settings_inversion=settings_inversion,
preloads=preloads,
run_time_dict=run_time_dict,
Expand Down

0 comments on commit 0178cb7

Please sign in to comment.