MEX files: use “auto” when initializing with a template cast to avoid duplicating the type name
Automatically detected by clang-tidy with modernize-use-auto check.new-samplers
parent
de476ad5ac
commit
91f2dcdfe1
|
@ -202,7 +202,7 @@ public:
|
|||
PowerProvider pwp(xval);
|
||||
for (int i = 1; i <= tp.maxdim; i++)
|
||||
{
|
||||
const _Stype& xpow = pwp.getNext<_Stype>();
|
||||
const auto& xpow = pwp.getNext<_Stype>();
|
||||
for (int j = 0; j <= tp.maxdim - i; j++)
|
||||
if (tp.check(Symmetry {i + j}))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue