Skip to content

Commit cecbcdd

Browse files
committed
fix wrong default for method_sto
1 parent e7722b7 commit cecbcdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/input.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ void Input::Default_2(void) // jiyy add 2019-08-04
19401940
}
19411941
if(calculation.substr(0,3) != "sto") bndpar = 1;
19421942
if(bndpar > GlobalV::NPROC) bndpar = GlobalV::NPROC;
1943-
if(method_sto != 1 || method_sto != 2)
1943+
if(method_sto != 1 && method_sto != 2)
19441944
{
19451945
method_sto = 2;
19461946
}

0 commit comments

Comments
 (0)