diff --git a/phoebe/parameters/parameters.py b/phoebe/parameters/parameters.py index c2d0f4f02..fdfa87e9d 100644 --- a/phoebe/parameters/parameters.py +++ b/phoebe/parameters/parameters.py @@ -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: