compute coord/atom

The compute coord/atom command is giving the following error:

ERROR: Expected floating point parameter in input script or data file (…/compute_coord_atom.cpp:39)

Can anyone identify the source of error and tell how to rectify it.


The source of error is: you are using it wrong.

Without seeing the actual command you used, nobody knows how it was wrong. Also clarify which version of LAMMPS you used.