diff --git a/autofit/non_linear/analysis/analysis.py b/autofit/non_linear/analysis/analysis.py index 993254202..7591449b3 100644 --- a/autofit/non_linear/analysis/analysis.py +++ b/autofit/non_linear/analysis/analysis.py @@ -237,32 +237,3 @@ def profile_log_likelihood_function(self, paths: AbstractPaths, instance): The maximum likliehood instance of the model so far in the non-linear search. """ pass - - def __add__(self, other: "Analysis"): - """ - Analyses can be added together. The resultant - log likelihood function returns the sum of the - underlying log likelihood functions. - - Parameters - ---------- - other - Another analysis class - - Returns - ------- - A class that computes log likelihood based on both analyses - """ - from .combined import CombinedAnalysis - - if isinstance(other, CombinedAnalysis): - return other + self - return CombinedAnalysis(self, other) - - def __radd__(self, other): - """ - Allows analysis to be used in sum - """ - if other == 0: - return self - return self + other