diff --git a/probability/bayes_theorem.cpp b/probability/bayes_theorem.cpp index 44bac77ba..d30be6c9a 100644 --- a/probability/bayes_theorem.cpp +++ b/probability/bayes_theorem.cpp @@ -23,12 +23,8 @@ int main() { double A = 0.01; double B = 0.1; double BgivenA = 0.9; - double AgivenB = bayes_AgivenB(BgivenA, A, B); - - std::cout << "A given B = " << AgivenB << std::endl; std::cout << "B given A = " << bayes_BgivenA(AgivenB, A, B) << std::endl; - return 0; }