Skip to content

Commit

Permalink
Bump version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauger committed Apr 5, 2022
1 parent a04124b commit 6b3678e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
endif()

cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
project(BxDecay0 VERSION 1.0.13)
project(BxDecay0 VERSION 1.1.0)
# - Version of the original fortran Decay0
set(BxDecay0_DECAY0_VERSION "2020-04-20")
set(BxDecay0_TAG "BxDecay0-${BxDecay0_VERSION}")
Expand Down
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,11 @@ GSL_, ROOT_ or whatever).
- Add an advanced example about vertex generation from the G4 extension (issue #24)
- Fix spurious printouts in Geant4 extension (issue #25)

- Release 1.0.13 (in preparation):
- Release 1.1.0 (in preparation):

- Fix G4String issue in Geant4 extension (issue #26)
- Fix bugs concerning the manipulation of particles' times
- Fix bugs concerning the manipulation of particles' generation times
in a generated event from examples (issue #27)

.. _SuperNEMO: http://supernemo.org/

Expand Down
2 changes: 1 addition & 1 deletion examples/ex02/ex02.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ int main()
HepMC3::FourVector(0., 0., 0., gendecay.get_time() * C_LIGHT_MM_PER_SEC));
genEvtPtr->add_vertex(genVtxPtr);

double part_time = 0.0;
for (const auto & particle : gendecay.get_particles()) {
std::shared_ptr<HepMC3::GenParticle> genPartPtr = std::make_shared<HepMC3::GenParticle>();
// http://pdg.lbl.gov/mc_particle_id_contents.html
Expand All @@ -211,6 +210,7 @@ int main()
default:
break;
}
double part_time = 0.0;
if (particle.has_time()) {
// Extract the particle time relatice to some time reference:
part_time = particle.get_time();
Expand Down

0 comments on commit 6b3678e

Please sign in to comment.