Skip to content

Commit

Permalink
Correction of residuals (ditto).
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavbroz committed Sep 13, 2024
1 parent 04927e9 commit f92c8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phoebe/parameters/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -3804,7 +3804,7 @@ def calculate_residuals(self, model=None, dataset=None, component=None,
raise ValueError("model and dataset do not have the same default_unit, cannot interpolate")

# no interpolation for interferometry
if qualifier in ['vises', 'clos', 't3s']:
if dataset_kind in ['vis', 'clo', 't3']:
model_interp = model_param.value
residuals = dataset_param.value - model_param.value
else:
Expand Down

0 comments on commit f92c8e9

Please sign in to comment.