Bytecode: use bool literals

Performed using modernize-use-bool-literals from clang-tidy

https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
time-shift
Sébastien Villemot 2021-02-01 12:40:35 +01:00
parent 1a4340cb80
commit 93c6cb1c3c
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 2 additions and 2 deletions

View File

@ -674,7 +674,7 @@ dynSparseMatrix::Simple_Init(int Size, map<pair<pair<int, int>, int>, int> &IM,
eq = -1;
for (i = 0; i < Size; i++)
{
line_done[i] = 0;
line_done[i] = false;
FNZE_C[i] = NULL;
FNZE_R[i] = NULL;
temp_NZE_C[i] = 0;
@ -1911,7 +1911,7 @@ dynSparseMatrix::Init_GE(int periods, int y_kmin, int y_kmax, int Size, map<pair
for (int i = 0; i < periods*Size; i++)
{
b[i] = 0;
line_done[i] = 0;
line_done[i] = false;
}
for (int i = 0; i < (periods+y_kmax+1)*Size; i++)
{