Skip to content

Commit

Permalink
fix for old compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaszGolan committed Feb 26, 2018
1 parent 258ad8a commit c526f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dis/resevent2.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "res_kinematics.h"

//! in SPP language: 0 -> pi+, 1 -> pi0, 2 -> pi-
enum { pip, pi0, pim } spp_code;
typedef enum { pip, pi0, pim } spp_code;

//! map PDG code to SPP code
inline int pdg2spp(const int pdg) {
Expand Down

0 comments on commit c526f88

Please sign in to comment.