remove unneeded variable
This commit is contained in:
parent
9b70708afb
commit
0d27ecd253
@ -180,7 +180,6 @@ namespace bayesnet {
|
|||||||
vector<double> Network::exactInference(map<string, int>& evidence)
|
vector<double> Network::exactInference(map<string, int>& evidence)
|
||||||
{
|
{
|
||||||
vector<double> result;
|
vector<double> result;
|
||||||
int classNumStates = getClassNumStates();
|
|
||||||
for (int i = 0; i < classNumStates; ++i) {
|
for (int i = 0; i < classNumStates; ++i) {
|
||||||
result.push_back(1.0);
|
result.push_back(1.0);
|
||||||
auto complete_evidence = map<string, int>(evidence);
|
auto complete_evidence = map<string, int>(evidence);
|
||||||
|
Loading…
Reference in New Issue
Block a user