[Gate-users] Missing cast in digits_hits/src/GateFastAnalysis.cc (6.1.0)
Ake Sandgren
ake.sandgren at hpc2n.umu.se
Wed Feb 1 13:44:32 CET 2012
Hi!
In case no one has noticed this yet. (I guess you have but just in case)
gate 6.1.0 digits_hits/src/GateFastAnalysis.cc is missing a cast on line
105.
diff -ru site/source/digits_hits/src/GateFastAnalysis.cc
amd64_centos5/source/digits_hits/src/GateFastAnalysis.cc
--- site/source/digits_hits/src/GateFastAnalysis.cc 2011-03-01
16:51:11.000000000 +0100
+++ amd64_centos5/source/digits_hits/src/GateFastAnalysis.cc
2012-02-01 13:33:19.000000000 +0100
@@ -102,7 +102,7 @@
(*CHC)[iHit]->SetRunID(runID);
// the following parameters are not calculated and are therefore
set to -1
// or "NULL" to indicate no value
- (*CHC)[iHit]->SetSourcePosition(-1);
+ (*CHC)[iHit]->SetSourcePosition((const G4ThreeVector)-1);
(*CHC)[iHit]->SetNPhantomCompton(-1);
(*CHC)[iHit]->SetNPhantomRayleigh(-1);
(*CHC)[iHit]->SetComptonVolumeName("NULL");
--
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake at hpc2n.umu.se Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
More information about the Gate-users
mailing list