From 0d27ecd253f038aba0a5ee7f3d3340012d89d876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Thu, 6 Jul 2023 11:22:27 +0200 Subject: [PATCH] remove unneeded variable --- src/Network.cc | 1 - 1 file changed, 1 deletion(-) 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);