| 107 | } |
| 108 | |
| 109 | bool penalizes(const Sampling& s) { |
| 110 | return s.temperature > 0.f && s.pen_last_n > 0 && (s.pen_repeat != 1.f || s.pen_freq != 0.f || s.pen_present != 0.f); |
| 111 | } |
| 112 | |
| 113 | void check_sampling(const Sampling& s) { |
| 114 | auto bad = [](const std::string& what) { throw std::runtime_error("sampling: " + what); }; |
no outgoing calls
no test coverage detected