Suggestion for the tabulated potential code

Hi all,

Might it be a good idea to add a little check for the return value of sscanf() in e.g. PairTable::ReadTable()?

At the moment, LAMMPS does not seem to warn the user etc if it a tabulated data file contains fewer columns than expected.

It’s best not to ask about the story behind this suggestion ...

Cheers,

J.

hi john,

Hi Axel,

Looks great, thanks!

J.