Skip to content

Commit

Permalink
fixed bug where flag was operating in opposite way
Browse files Browse the repository at this point in the history
  • Loading branch information
twongjirad committed Oct 9, 2017
1 parent da96f1c commit 859872f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ namespace flashana {
size_t n_pmt = BaseAlgorithm::NOpDets();//n_pmt returns 0 now, needs to be fixed
const ::phot::PhotonVisibilityService* pPhotonLib = NULL;
if ( fLibrarySet )
pPhotonLib = &(::phot::PhotonVisibilityService::GetME());
else
pPhotonLib = &(::phot::PhotonVisibilityService::GetME(_libraryfile));
else
pPhotonLib = &(::phot::PhotonVisibilityService::GetME());

for ( auto& v : flash.pe_v ) v = 0;

Expand Down

0 comments on commit 859872f

Please sign in to comment.