about RDF

i write code:
compute myRDF all rdf 1000 1 1 2 2

fix 4 all ave/time 1 10 100000 c_myRDF file tmp.rdf mode vector.
Error message in the output: Numeric index is out of bounds (…/force.cpp:666)