[mlpack-git] [mlpack] Changes to solve issue #498: Replacing timer implementation (#567)

Ryan Curtin notifications at github.com
Mon Mar 14 09:24:14 EDT 2016


>  
> -  GetTime(&tmp);
> -
> -  // Check to see if the timer already exists.  If it does, we'll subtract the
> -  // old value.
> -  if (timers.count(timerName) == 1)
> +  // If the timer is added first time
> +  if(timers.count(timerName) == 0)

Please add a space here between the if and its argument; I need to update the style guide to point this out.

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/567/files#r55998622
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160314/9212272e/attachment.html>


More information about the mlpack-git mailing list