diff --git a/src/branch_tier.cpp b/src/branch_tier.cpp index 76a17dab..fd5179d2 100644 --- a/src/branch_tier.cpp +++ b/src/branch_tier.cpp @@ -62,7 +62,7 @@ BranchTier::BranchTier(toml::value const &v_) std::string type; auto const &table = branch.as_table(); - enabled = toml::find_or(table,"enabled",false); + enabled = toml::find_or(branch,"enabled",false); if(!enabled) continue;