[mlpack-git] [mlpack/mlpack] A Runtime Exception std::bad_alloc may be caused when using Timer (#812)

Ryan Curtin notifications at github.com
Thu Nov 17 10:27:54 EST 2016

Hi there,

I can't reproduce this because I don't have a Windows machine.  I have an idea, but I don't think it will work.

Can you change line 130 of `src/mlpack/core/util/timers.cpp` from

if ((timerState[timerName] == 1) && (timerName != "total_time"))


if ((timerState.count(timerName) > 0) && (timerState[timerName] == 1) && (timerName != "total_time"))

and see if anything is different?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20161117/62bbc4a3/attachment.html>

More information about the mlpack-git mailing list