Add clang-tidy conf

This commit is contained in:
2023-07-20 23:55:01 +02:00
parent f519003766
commit 48bfa02e1d
4 changed files with 21 additions and 4 deletions

View File

@@ -83,7 +83,6 @@ namespace bayesnet {
for (auto father : getParents()) {
dimensions.push_back(father->getNumStates());
}
auto length = dimensions.size();
// Create a tensor of zeros with the dimensions of the CPT
cpTable = torch::zeros(dimensions, torch::kFloat) + laplaceSmoothing;
// Fill table with counts