Fixed uninitialized variables

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15066 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2016-05-25 20:09:34 +00:00
parent d60fbe4c22
commit edbb8bc31d
1 changed files with 4 additions and 0 deletions

View File

@ -248,6 +248,10 @@ void FixEOStable::read_table(Table *tb, Table *tb2, char *file, char *keyword)
void FixEOStable::spline_table(Table *tb)
{
memory->create(tb->e2file,tb->ninput,"eos:e2file");
double ep0 = 0.0;
double epn = 0.0;
spline(tb->rfile,tb->efile,tb->ninput,ep0,epn,tb->e2file);
}
/* ----------------------------------------------------------------------