diff --git a/src/Network.cc b/src/Network.cc index 14f3c3c..7296ba4 100644 --- a/src/Network.cc +++ b/src/Network.cc @@ -180,7 +180,6 @@ namespace bayesnet { vector Network::exactInference(map& evidence) { vector result; - int classNumStates = getClassNumStates(); for (int i = 0; i < classNumStates; ++i) { result.push_back(1.0); auto complete_evidence = map(evidence);