git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2257 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2008-12-01 15:19:10 +00:00
parent 0d27c1f8a0
commit 4b92c1081d

View File

@ -143,7 +143,7 @@ switch t
end end
% Pair Potentials % Pair Potentials
n_pair = ntypes + (factorial(ntypes)/2); n_pair = ntypes * (ntypes + 1) / 2;
for np = 1 : 1 : n_pair for np = 1 : 1 : n_pair
for i = 1 : 1 : nr/5 for i = 1 : 1 : nr/5
pair(i,:,np) = str2num(fgetl(fid)); pair(i,:,np) = str2num(fgetl(fid));