mirror of https://github.com/davisking/dlib.git
fix invalid assert
This commit is contained in:
parent
8b9d04390c
commit
0697527acc
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue