mirror of https://github.com/davisking/dlib.git
Removed inappropriate uses of const on the be_verbose() functions.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404186
This commit is contained in:
parent
926c2afa6f
commit
514e0f3853
|
@ -44,8 +44,8 @@ namespace dlib
|
|||
);
|
||||
}
|
||||
|
||||
const objective_delta_stop_strategy& be_verbose(
|
||||
) const
|
||||
objective_delta_stop_strategy& be_verbose(
|
||||
)
|
||||
{
|
||||
_verbose = true;
|
||||
return *this;
|
||||
|
@ -83,7 +83,7 @@ namespace dlib
|
|||
}
|
||||
|
||||
private:
|
||||
mutable bool _verbose;
|
||||
bool _verbose;
|
||||
|
||||
bool _been_used;
|
||||
double _min_delta;
|
||||
|
@ -123,8 +123,8 @@ namespace dlib
|
|||
);
|
||||
}
|
||||
|
||||
const gradient_norm_stop_strategy& be_verbose(
|
||||
) const
|
||||
gradient_norm_stop_strategy& be_verbose(
|
||||
)
|
||||
{
|
||||
_verbose = true;
|
||||
return *this;
|
||||
|
@ -158,7 +158,7 @@ namespace dlib
|
|||
}
|
||||
|
||||
private:
|
||||
mutable bool _verbose;
|
||||
bool _verbose;
|
||||
|
||||
double _min_norm;
|
||||
unsigned long _max_iter;
|
||||
|
|
|
@ -53,8 +53,8 @@ namespace dlib
|
|||
executed.
|
||||
!*/
|
||||
|
||||
const objective_delta_stop_strategy& be_verbose(
|
||||
) const;
|
||||
objective_delta_stop_strategy& be_verbose(
|
||||
);
|
||||
/*!
|
||||
ensures
|
||||
- causes this object to print status messages to standard out
|
||||
|
@ -120,8 +120,8 @@ namespace dlib
|
|||
max_iter iterations has been executed.
|
||||
!*/
|
||||
|
||||
const gradient_norm_stop_strategy& be_verbose(
|
||||
) const;
|
||||
gradient_norm_stop_strategy& be_verbose(
|
||||
);
|
||||
/*!
|
||||
ensures
|
||||
- causes this object to print status messages to standard out
|
||||
|
|
Loading…
Reference in New Issue