some more work towards nonlocal fitting. Not functional yet.

This commit is contained in:
nemu
2009-07-01 07:11:31 +00:00
parent edd3481f1e
commit 5a2f1cb036
4 changed files with 268 additions and 5 deletions

View File

@@ -29,6 +29,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include <cmath>
#include <iostream>
#include <fstream>
using namespace std;
@@ -180,7 +182,7 @@ void PNL_StartupHandler::OnCharacters(const char *str)
fIsValid = false;
}
tstr = fTrimSpDataPath;
sprintf(sstr, "%03d", (int)(dval*10.0));
sprintf(sstr, "%03d", (int)(round(dval*10.0)));
tstr += sstr;
tstr += ".rge";
fTrimSpDataPathList.push_back(tstr);