summaryrefslogtreecommitdiff
path: root/training/risk.h
diff options
context:
space:
mode:
Diffstat (limited to 'training/risk.h')
-rw-r--r--training/risk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/training/risk.h b/training/risk.h
index 00ff60ec..2e8db0fb 100644
--- a/training/risk.h
+++ b/training/risk.h
@@ -9,6 +9,7 @@ namespace training {
class CandidateSet;
class CandidateSetRisk {
+ public:
explicit CandidateSetRisk(const CandidateSet& cs, const EvaluationMetric& metric) :
cands_(cs),
metric_(metric) {}