Problem 1124

Summary: make error: conversion from ‘G4double’ to non-scalar type ‘G4ThreeVector’
Product: Geant4 Reporter: Oleg Shirokobrod <oleg.shirokobrod>
Component: processes/electromagnetic/lowenergyAssignee: Sebastien Incerti <incerti>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: P5    
Version: 9.3   
Hardware: PC   
OS: All   

Description Oleg Shirokobrod 2010-06-24 08:19:56 CEST
G4PhotoElectricAngularGeneratorSauterGavrila.cc: In member function ‘virtual G4ThreeVector G4PhotoElectricAngularGeneratorSauterGavrila::GetPhotoElectronDirection(const G4ThreeVector&, G4double, const G4ThreeVector&, G4int) const’ :82: error: conversion from ‘G4double’ to non-scalar type ‘G4ThreeVector’

l.82 return costeta; where costeta declared as G4double. Return value must be G4ThreeVector. There is this bug in all versions starting from 8.3.

Build 2010-18-06 on Scientific Linux OS 5.5
Build 2010-18-06 on Windows XP Professional (Service Pack 2)
Comment 1 Gabriele Cosmo 2010-06-24 08:57:24 CEST
Unsupported version of CLHEP used.

*** This problem has been marked as a duplicate of problem 1120 ***