Thanks Ryan.
Turns out that just syncing the flags and precision between `destination` and
`convert` will be enough, without needing extra overloads.
Printing Armadillo objects with set precision is not possible with this
approach AFAICS, as the overloads for `operator<<` called are defined by
Armadillo.
Armadillo does provide a `raw_print` method to print without modifying the
stream flags but that would require an overload approach on the `baseLogic`(?)
I'll create a PR ASAP with the changes for floating-point types.
--
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-267392815
_______________________________________________
mlpack mailing list
[email protected]
http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack