We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfd2f2b commit a7c0af4Copy full SHA for a7c0af4
1 file changed
src/param/hbos_param.cpp
@@ -191,9 +191,9 @@ using namespace chimbuko;
191
192
for (int i = 0; i < l.bin_edges().size() -1; i++) {
193
194
- auto index_it = std::lower_bound(combined.binedges().begin(), combined.binedges().end(), l.bin_edges().at(i));
195
- if (index_it != combined.binedges().end()){
196
- const int id = std::distance(combined.binedges().begin(), index_it) - 1;
+ auto index_it = std::lower_bound(combined.bin_edges().begin(), combined.bin_edges().end(), l.bin_edges().at(i));
+ if (index_it != combined.bin_edges().end()){
+ const int id = std::distance(combined.bin_edges().begin(), index_it) - 1;
197
const int inc = l.counts().at(i);
198
std::cout << "In l " << "id: " << id << ", inc: " << inc << std::endl;
199
if (id >= 0 && id < combined.counts().size())
0 commit comments