Skip to content

Commit cb09cf0

Browse files
committed
fixed bool parameter parsing
1 parent 7cda085 commit cb09cf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
python-version: 3.8
2020
- name: Pip cache
21-
uses: actions/cache@v2
21+
uses: actions/cache@v4
2222
with:
2323
path: ~/.cache/pip
2424
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }}

src/lindbladmpo.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ int main(int argc, char *argv[])
675675
}
676676
cout2.flush();
677677

678-
if (param.val("b_initial_rho_compression") != 0)
678+
if (param.boolval("b_initial_rho_compression"))
679679
{
680680

681681
cout2 << "C.rho.orthogonalize...";

0 commit comments

Comments
 (0)