Commit 112ab84e2a1abb77e6afb8dd2ab0ae8190c35d2f

Authored by Jürgen Knödlseder
1 parent 1037eb76

Correct debug logging

Showing 1 changed file with 1 additions and 1 deletions
src/obs/GObservation.cpp
@@ -1209,7 +1209,7 @@ double GObservation::likelihood_poisson_binned(const GModels& models, @@ -1209,7 +1209,7 @@ double GObservation::likelihood_poisson_binned(const GModels& models,
1209 std::cout << "Sum of data: " << sum_data << std::endl; 1209 std::cout << "Sum of data: " << sum_data << std::endl;
1210 std::cout << "Sum of model: " << sum_model << std::endl; 1210 std::cout << "Sum of model: " << sum_model << std::endl;
1211 std::cout << "Initial statistic: " << init_value << std::endl; 1211 std::cout << "Initial statistic: " << init_value << std::endl;
1212 - std::cout << "Statistic: " << m_value-init_value << std::endl; 1212 + std::cout << "Statistic: " << value-init_value << std::endl;
1213 #endif 1213 #endif
1214 1214
1215 // Return 1215 // Return