fix invalid assert

This commit is contained in:
Davis King 2021-02-16 20:31:55 -05:00
parent 8b9d04390c
commit 0697527acc
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ namespace dlib
{
DLIB_CASSERT(functions_.size() > 0);
DLIB_CASSERT(functions_.size() == initial_function_evals.size());
DLIB_CASSERT(relative_noise_magnitude >= 0);
DLIB_CASSERT(relative_noise_magnitude_ >= 0);
relative_noise_magnitude = relative_noise_magnitude_;
for (size_t i = 0; i < initial_function_evals.size(); ++i)
{