Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
+4 -4
View File
@@ -246,11 +246,11 @@ inline bool is_hippo(const std::string& a_file,bool& a_is){
char csep;
unsigned int number;
if(!num_csv_doubles(txt[2],csep,number)) {a_is=false;return true;}
std::vector<std::string> words;
tools::words(txt[1],"\t",false,words);
if(words.size()!=number) {a_is=false;return true;}
std::vector<std::string> ws;
words(txt[1],"\t",false,ws);
if(ws.size()!=number) {a_is=false;return true;}
bool all_doubles = true;
tools_vforcit(std::string,words,it) {
tools_vforcit(std::string,ws,it) {
const char* pos = (*it).c_str();
char* end;
double d = ::strtod(pos,&end);(void)d;