Commit 56b4389f authored by Emmy Gabriel's avatar Emmy Gabriel
Browse files

fix floating point exception

parent 1f5c4769
Pipeline #3233496 passed with stage
in 17 seconds
......@@ -48,8 +48,8 @@ StatusCode SiPMResponse::initialize() {
if ( sc.isFailure() ) return Error( "Failed to initialize", sc );
// initialise SiPMResponse as zero in case conditions DB fails
std::vector<double> times{0.0};
std::vector<double> values{0.0};
std::vector<double> times;
std::vector<double> values;
if ( !existDet<DataObject>( detSvc(), m_conditionLocation.value() ) ) {
Warning( "SiPMResponse found not in conditions DB", StatusCode::SUCCESS ).ignore();
} else {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment