In flute::readLUT(), prepend the "directory" to find the ".dat" files.
This commit is contained in:
parent
366855c9bd
commit
1c657c958d
|
@ -75,6 +75,7 @@ void readLUT( string directory )
|
||||||
|
|
||||||
|
|
||||||
string file = POWVFILE;
|
string file = POWVFILE;
|
||||||
|
if (not directory.empty()) file.insert( 0, directory+"/" );
|
||||||
|
|
||||||
fpwv=fopen(file.c_str(), "r");
|
fpwv=fopen(file.c_str(), "r");
|
||||||
if (fpwv == NULL) {
|
if (fpwv == NULL) {
|
||||||
|
@ -85,6 +86,7 @@ void readLUT( string directory )
|
||||||
|
|
||||||
#if ROUTING==1
|
#if ROUTING==1
|
||||||
file = POSTFILE;
|
file = POSTFILE;
|
||||||
|
if (not directory.empty()) file.insert( 0, directory+"/" );
|
||||||
|
|
||||||
fprt=fopen(file.c_str(), "r");
|
fprt=fopen(file.c_str(), "r");
|
||||||
if (fprt == NULL) {
|
if (fprt == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue