remove unneeded variable

This commit is contained in:
Ricardo Montañana Gómez 2023-07-06 11:22:27 +02:00
parent 9b70708afb
commit 0d27ecd253
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE

View File

@ -180,7 +180,6 @@ namespace bayesnet {
vector<double> Network::exactInference(map<string, int>& evidence)
{
vector<double> result;
int classNumStates = getClassNumStates();
for (int i = 0; i < classNumStates; ++i) {
result.push_back(1.0);
auto complete_evidence = map<string, int>(evidence);