From 119d46058b37b585e03544d5b3a0df362846af4e Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 17 Mar 2003 17:25:11 +0000 Subject: [PATCH] I wrote arrayfit and it worked. Then I needed to modify libArray code so that other portions of the code could use the pre-computed fit data. Today I discovered that arrayfit was messed up. That is now fixed. --- src/Prep/ArrayFit/arrayfit.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Prep/ArrayFit/arrayfit.cxx b/src/Prep/ArrayFit/arrayfit.cxx index 4f5b1192..eff3aa3d 100644 --- a/src/Prep/ArrayFit/arrayfit.cxx +++ b/src/Prep/ArrayFit/arrayfit.cxx @@ -146,12 +146,7 @@ int main( int argc, char **argv ) { usage( argv[0] ); } - SGPath outfile = infile.base(); - cout << outfile.str() << endl; - while ( outfile.extension().length() ) { - outfile = outfile.base(); - cout << outfile.str() << endl; - } + SGPath outfile = infile; outfile.concat( ".fit.gz" ); cout << "Input file = " << infile.str() << endl;