ublas
ublas copied to clipboard
Fixing iteration-type of for-loop.
The current loops rely on auto
deduction or integer suffix for the type that may not be a correct iteration type and may produce conversion warnings all over places. Therefore, I propose to remove auto
from the loops and use appropriate and explicit types or use explicit types to initialize the variable. In a long run, it would produce a bug-free code, and it would remove all warnings produced by compilers.
From
for(auto d = 0u; d < t.size(); ++d)
{
...
}
To
for(auto d = size_type{0}; d < t.size(); ++d)
{
...
}
Can I take up this issue if no one is working upon it. Kindly assign it to me
Can I take up this issue if no one is working upon it. Kindly assign it to me
I'm waiting for others' views on this. Therefore, wait for a few days. So, I request you to read the tensor's codebase and try to find bugs or enhancements that you think would improve the tensor. Finding bugs is also a way to contribute.
Since 20 days, if no one is putting input over this issue , Can i take up this issue ?