coord/ops: mod style

This commit is contained in:
Danny Robson 2016-09-14 17:42:11 +10:00
parent fa21e52ee0
commit ff7ce2f1ef

View File

@ -561,7 +561,12 @@ namespace util {
K<S,T>
mod (K<S,T> k, T t)
{
std::transform (std::cbegin (k), std::cend (k), std::begin (k), [t] (auto v) { return mod (v, t); });
std::transform (
std::cbegin (k),
std::cend (k),
std::begin (k),
[t] (auto v) { return mod (v, t);
});
return k;
}