fisher: fix full_info func. returned values
@@ -371,9 +371,9 @@ class FisherInformation(DataAnalyzer):
covariance = None
# Returns
- if model_is_ensemble:
+ if model_is_ensemble and calculate_covariance:
return fisher_info_rate + fisher_info_kin, rate_covariance + covariance
-
+ else:
return fisher_info_rate + fisher_info_kin, rate_covariance
def rate_information(
