fix bug enumerating output when using python invoke with multiple functions
This commit is contained in:
@ -138,7 +138,7 @@ void PythonImpl::command(int narg, char **arg)
|
||||
if (ifunc < 0) error->all(FLERR,"Python invoke of undefined function");
|
||||
|
||||
char *str = nullptr;
|
||||
if (noutput) {
|
||||
if (pfuncs[ifunc].noutput) {
|
||||
str = input->variable->pythonstyle(pfuncs[ifunc].ovarname,
|
||||
pfuncs[ifunc].name);
|
||||
if (!str)
|
||||
|
||||
Reference in New Issue
Block a user