From 7d1e67b5a8669ad0028b87f1ca4df2122a69d210 Mon Sep 17 00:00:00 2001 From: Tom Veasey Date: Mon, 19 Oct 2020 18:00:41 +0100 Subject: [PATCH] Typo --- lib/maths/CBoostedTreeImpl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/maths/CBoostedTreeImpl.cc b/lib/maths/CBoostedTreeImpl.cc index d126689bc7..1b92493c84 100644 --- a/lib/maths/CBoostedTreeImpl.cc +++ b/lib/maths/CBoostedTreeImpl.cc @@ -771,7 +771,7 @@ CBoostedTreeImpl::candidateSplits(const core::CDataFrame& frame, // between two consecutive integers they must produce identical partitions // of the data and so always have the same loss. We only need to retain // one such split for training. We achieve this by snapping to the midpoint - // and subsquently deduplicating. + // and subsequently deduplicating. std::for_each(featureSplits.begin(), featureSplits.end(), [](double& split) { split = std::floor(split) + 0.5; }); }