This commit is contained in:
2019-11-19 23:00:05 -07:00
parent 8237544bf8
commit e4cee3964d
254 changed files with 12307 additions and 273 deletions

View File

@@ -31,7 +31,7 @@ namespace usu
T operator*(double scalar, T weight)
{
auto count = weight.count();
auto newCount = static_cast<decltype(count)>(scalar * count);
auto newCount = (scalar * count);
T newweight(newCount);
return newweight;
}