Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
+12 -12
View File
@@ -413,14 +413,14 @@ public:
return tmp;
}
value operator+=(const value& a_from) {
value s = operator+(a_from);
*this = s;
return s;
value _s = operator+(a_from);
*this = _s;
return _s;
}
value operator-=(const value& a_from) {
value s = operator-(a_from);
*this = s;
return s;
value _s = operator-(a_from);
*this = _s;
return _s;
}
*/
private:
@@ -1007,15 +1007,15 @@ public:
public: // for valop :
std::string stype() const {
std::string s;
if(!s_type(s)) return "unknown";
return s;
std::string _s;
if(!s_type(_s)) return "unknown";
return _s;
}
static std::string stype(e_type a_type) {
std::string s;
if(!s_type(a_type,s)) return "unknown";
return s;
std::string _s;
if(!s_type(a_type,_s)) return "unknown";
return _s;
}
static std::string error_div_zero() {return "divide by zero.";}