Changeset 1945


Ignore:
Timestamp:
Apr 16, 2013 1:37:48 PM (6 years ago)
Author:
forrest
Message:

fix to allow .lp files on stdin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSimplex.cpp

    r1927 r1945  
    71807180ClpSimplex::readLp(const char *filename, const double epsilon )
    71817181{
    7182      FILE *fp = fopen(filename, "r");
     7182  FILE *fp;
     7183  if (strcmp(filename,"-"))
     7184    fp = fopen(filename, "r");
     7185  else
     7186    fp = stdin;
    71837187
    71847188     if(!fp) {
Note: See TracChangeset for help on using the changeset viewer.