Skip to content

Commit f49e400

Browse files
wip
1 parent 102fde4 commit f49e400

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/APLRRegressor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ void APLRRegressor::throw_error_if_sample_weight_contains_invalid_values(const V
512512
{
513513
if (sample_weight.size() != y.size())
514514
throw std::runtime_error("sample_weight must have 0 or as many rows as X and y.");
515-
throw_error_if_vector_contains_non_positive_values(sample_weight, "all sample_weight values must be greater than zero.");
515+
throw_error_if_vector_contains_negative_values(sample_weight, "sample_weight cannot contain negative values.");
516516
}
517517
}
518518

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setuptools.setup(
1717
name="aplr",
18-
version="7.8.0",
18+
version="7.8.1",
1919
description="Automatic Piecewise Linear Regression",
2020
ext_modules=[sfc_module],
2121
author="Mathias von Ottenbreit",

0 commit comments

Comments
 (0)