We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1bfb58 commit 6879a21Copy full SHA for 6879a21
1 file changed
GPU/Utils/GPUCommonBitSet.h
@@ -93,7 +93,7 @@ template <unsigned int N>
93
inline std::string bitset<N>::to_string() const
94
{
95
std::string retVal;
96
- for (unsigned int i = 0; i < N; i++) {
+ for (unsigned int i = N; i--;) {
97
retVal += std::to_string((int)((*this)[i]));
98
}
99
return retVal;
0 commit comments