mirror of https://github.com/lammps/lammps.git
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:
parent
d60fbe4c22
commit
edbb8bc31d
|
@ -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);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue