Commit eaa34670aeca1bdbce04023014383685e3a5d910

Authored by Jürgen Knödlseder
1 parent d9060a03

Replace phi() calls by phibar() calls.

inst/com/src/GCOMModelDRBFitting.cpp
... ... @@ -280,7 +280,7 @@ double GCOMModelDRBFitting::eval(const GEvent& event,
280 280 else {
281 281  
282 282 // Get Phibar value
283   - double phibar = bin->dir().phi();
  283 + double phibar = bin->dir().phibar();
284 284  
285 285 // Update evaluation cache
286 286 update_cache();
... ... @@ -386,7 +386,7 @@ double GCOMModelDRBFitting::eval_gradients(const GEvent& event,
386 386 else {
387 387  
388 388 // Get Phibar value
389   - double phibar = bin->dir().phi();
  389 + double phibar = bin->dir().phibar();
390 390  
391 391 // Update evaluation cache
392 392 update_cache();
... ...