correct function prototypes

This commit is contained in:
Axel Kohlmeyer
2021-12-30 23:48:42 -05:00
parent e6e9aed385
commit ca3be99e77
2 changed files with 6 additions and 6 deletions

View File

@ -422,7 +422,7 @@ int utils::inumeric(const char *file, int line, const std::string &str, bool do_
wrapper for inumeric() that accepts a char pointer instead of a string
------------------------------------------------------------------------- */
double utils::inumeric(const char *file, int line, const char *str, bool do_abort, LAMMPS *lmp)
int utils::inumeric(const char *file, int line, const char *str, bool do_abort, LAMMPS *lmp)
{
if (str)
return inumeric(file, line, std::string(str), do_abort, lmp);
@ -467,7 +467,7 @@ bigint utils::bnumeric(const char *file, int line, const std::string &str, bool
wrapper for bnumeric() that accepts a char pointer instead of a string
------------------------------------------------------------------------- */
double utils::bnumeric(const char *file, int line, const char *str, bool do_abort, LAMMPS *lmp)
bigint utils::bnumeric(const char *file, int line, const char *str, bool do_abort, LAMMPS *lmp)
{
if (str)
return bnumeric(file, line, std::string(str), do_abort, lmp);
@ -512,7 +512,7 @@ tagint utils::tnumeric(const char *file, int line, const std::string &str, bool
wrapper for tnumeric() that accepts a char pointer instead of a string
------------------------------------------------------------------------- */
double utils::tnumeric(const char *file, int line, const char *str, bool do_abort, LAMMPS *lmp)
tagint utils::tnumeric(const char *file, int line, const char *str, bool do_abort, LAMMPS *lmp)
{
if (str)
return tnumeric(file, line, std::string(str), do_abort, lmp);