Problem 1124 - make error: conversion from ‘G4double’ to non-scalar type ‘G4ThreeVector’
Summary: make error: conversion from ‘G4double’ to non-scalar type ‘G4ThreeVector’
Status: RESOLVED DUPLICATE of problem 1120
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/electromagnetic/lowenergy (show other problems)
Version: 9.3
Hardware: PC All
: P5 trivial
Assignee: Sebastien Incerti
URL:
Depends on:
Blocks:
 
Reported: 2010-06-24 08:19 CEST by Oleg Shirokobrod
Modified: 2010-06-24 08:57 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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 ***