From edbb8bc31d8ed0d327c257518b11f4d63808f35a Mon Sep 17 00:00:00 2001 From: athomps Date: Wed, 25 May 2016 20:09:34 +0000 Subject: [PATCH] Fixed uninitialized variables git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15066 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/USER-DPD/fix_eos_table.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/USER-DPD/fix_eos_table.cpp b/src/USER-DPD/fix_eos_table.cpp index 11b0032f74..b9579cfaf7 100644 --- a/src/USER-DPD/fix_eos_table.cpp +++ b/src/USER-DPD/fix_eos_table.cpp @@ -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); } /* ----------------------------------------------------------------------