Skip to content

Conversation

@jchorl
Copy link

@jchorl jchorl commented Dec 24, 2021

Greetings,

I found that with a small number of overlaps, logger_step = overlaps.size() / RACON_LOGGER_BIN_SIZE will yield 0.

This causes a divide-by-zero:

                        log_bar_idx = window_idx / logger_step;

Now, there are in-fact overlaps, so the code should still execute. Let me know what you think of the fix. We could also just use an if below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant