Skip to content

Commit

Permalink
rename Deactivation module, add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienDoerner committed Sep 2, 2024
1 parent 0f4ecdb commit c530480
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/crpropa/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ class AbstractCondition: public Module {
void printAcceptFlag();
};

class DeactivateModule: public AbstractCondition {
/**
@class Deactivation
@brief Direct deactivation of the candidate. Can be used for debuging.
*/
class Deactivation: public AbstractCondition {
public:
void process(Candidate *cand) const { reject(cand); }
};
Expand Down

0 comments on commit c530480

Please sign in to comment.