Merge branch 'master' into julia-serialize
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
### mlpack ?.?.?
|
||||
###### ????-??-??
|
||||
* Minor Julia and Python documentation fixes (#2373).
|
||||
|
||||
* Updated terminal state and fixed bugs for Pendulum environment (#2354, #2369).
|
||||
|
||||
* Added `EliSH` activation function (#2323).
|
||||
|
||||
@@ -475,7 +475,8 @@ inline std::string ProgramCall(const std::string& programName)
|
||||
size_t nonreqInputs = 0;
|
||||
for (auto it = parameters.begin(); it != parameters.end(); ++it)
|
||||
{
|
||||
if (it->second.input && !it->second.required)
|
||||
if (it->second.input && !it->second.required &&
|
||||
(it->second.name == "verbose" || !it->second.persistent))
|
||||
{
|
||||
if (inputs == 0 && nonreqInputs == 0)
|
||||
result << " ; ";
|
||||
|
||||
@@ -240,7 +240,8 @@ inline std::string ProgramCall(const std::string& programName)
|
||||
bool first = true;
|
||||
for (auto it = parameters.begin(); it != parameters.end(); ++it)
|
||||
{
|
||||
if (!it->second.input || it->second.persistent)
|
||||
if (!it->second.input || (it->second.persistent &&
|
||||
it->second.name != "verbose"))
|
||||
continue;
|
||||
|
||||
if (!first)
|
||||
|
||||
Reference in New Issue
Block a user