Hi Shikhar,

Thanks for looking into this.  I think the second approach is the right one to 
use here.  Since there should never be a newline printed as a result of 
printing a number, you can probably simplify the overload of `BaseLogic` 
greatly, too.

One thing to check will be that `std::fixed` and `std::setprecision` work with 
Armadillo objects, like this:

```
arma::mat m;
m.randu(5, 5);
Log::Info << std::setprecision(10) << m;
```

But even if that does not, just a patch for floating-point types only will 
still be a great help!

Thanks,
Ryan

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/755#issuecomment-267354130
_______________________________________________
mlpack mailing list
[email protected]
http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack

Reply via email to