| 111 | throw std::runtime_error("bs_roformer requires at least two frequency bands"); |
| 112 | } |
| 113 | int64_t total_freqs = 0; |
| 114 | for (const int64_t count : freqs_per_band) { |
| 115 | if (count <= 0) { |
| 116 | throw std::runtime_error("bs_roformer freqs_per_bands values must be positive"); |
| 117 | } |
| 118 | total_freqs += count; |
no test coverage detected