Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/PDecayChannel.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PDecayChannel : public TObject {
void AddChannel(Double_t w, const char *d1, const char *d2);
void AddChannel(Double_t w, const char *d1, const char *d2, const char *d3);
void AddChannel(Double_t w, const char *d1, const char *d2, const char *d3, const char *d4);
void AddChannel(Double_t w, Int_t nd, char **ld);
void AddChannel(Double_t w, Int_t nd, const char **ld);

// Get the information out of the class ...
Double_t GetWeight();
Expand Down
2 changes: 1 addition & 1 deletion src/PDecayChannel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ void PDecayChannel::AddChannel(Double_t w, const char *d1, const char *d2, const
// --------------------------------------------------------------------------

// --------------------------------------------------------------------------
void PDecayChannel::AddChannel(Double_t w, Int_t nd, char **ld) {
void PDecayChannel::AddChannel(Double_t w, Int_t nd, const char **ld) {
// The channel describes a decay into nd daughter particles represented by
// an array of their names ld and branching ratio w.
if (!Daughters.GetArray()) {
Expand Down