From 4c0648b5b2ec9fc8e1ba1689fc6dece25f3eb001 Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Tue, 11 Jul 2006 15:38:22 +0000 Subject: [PATCH] commented out code that will try to find a cti file if the xml file is not found. --- Cantera/src/misc.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cantera/src/misc.cpp b/Cantera/src/misc.cpp index edca00118..e33b4fda0 100755 --- a/Cantera/src/misc.cpp +++ b/Cantera/src/misc.cpp @@ -144,6 +144,7 @@ namespace Cantera { XML_Node* get_XML_File(string file) { string path = ""; + /* try { path = findInputFile(file); } @@ -163,6 +164,12 @@ namespace Cantera { else path = findInputFile(file); } + */ + // The code above will try to process a cti file if the xml + // file is not found. But I (dgg) don't think it makes much sense, + // so it is replaced by: + path = findInputFile(file); + // string ff = path; if (app()->xmlfiles.find(path)