X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/e34773ccb43eefc86dc814b768af85da2873e5ef..38ffdcb3843eec92d62b23d32a735107a49fb7d8:/paraq.cpp diff --git a/paraq.cpp b/paraq.cpp index d512c9c..0892962 100644 --- a/paraq.cpp +++ b/paraq.cpp @@ -41,10 +41,10 @@ string paraq::rangeString() for( map< string, vector >::iterator paraIt = rangeMap.begin(); paraIt != rangeMap.end(); ++paraIt ) if( paraIt->second.size() > 0 ) for( vector::iterator rangeIt = paraIt->second.begin(); rangeIt != paraIt->second.end(); ++rangeIt) - rangestring << "-" << paraIt->first << (*rangeIt)[0] << "_" << (*rangeIt)[1] << "_" << (*rangeIt)[2]; + rangestring << "_" << paraIt->first << (*rangeIt)[0] << "-" << (*rangeIt)[1] << "-" << (*rangeIt)[2]; for (vector::iterator linkit = linkedParas.begin(); linkit != linkedParas.end(); ++linkit) - rangestring << "-" << linkit->first << "--" << linkit->linktype << "--" << linkit->second; + rangestring << "_" << linkit->first << "--" << linkit->linktype << "--" << linkit->second; for( map::iterator defIt = defaultPara.begin(); defIt != defaultPara.end(); ++defIt ) if( rangeMap.find(defIt->first) == rangeMap.end() ) { @@ -57,7 +57,7 @@ string paraq::rangeString() } if (!linkedpara) - rangestring << "-" << defIt->first << defIt->second; + rangestring << "_" << defIt->first << defIt->second; } return rangestring.str();