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

This commit is contained in:
sjplimp 2013-09-23 16:47:50 +00:00
parent 8b662e5d95
commit 6203761e12
1 changed files with 1 additions and 1 deletions

View File

@ -746,7 +746,7 @@ void cvm::exit (std::string const &message)
void cvm::read_index_file (char const *filename) void cvm::read_index_file (char const *filename)
{ {
std::ifstream is (filename); std::ifstream is (filename, std::ios::binary);
if (!is.good()) if (!is.good())
fatal_error ("Error: in opening index file \""+ fatal_error ("Error: in opening index file \""+
std::string (filename)+"\".\n"); std::string (filename)+"\".\n");