Initialized force in default single()

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9274 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2013-01-15 19:08:06 +00:00
parent b95500d330
commit 0c292ed533
1 changed files with 5 additions and 1 deletions

View File

@ -124,7 +124,11 @@ class Pair : protected Pointers {
virtual void compute_outer(int, int) {}
virtual double single(int, int, int, int,
double, double, double, double &) {return 0.0;}
double, double, double,
double& fforce) {
fforce = 0.0;
return 0.0;
}
virtual void settings(int, char **) = 0;
virtual void coeff(int, char **) = 0;