Skip to content

Commit 140b272

Browse files
authored
Fix kpar check for DSP (deepmodeling#6825)
1 parent 5defffe commit 140b272

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/source_main/driver_run.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void Driver::init_hardware()
128128
#endif
129129

130130
#ifdef __DSP
131-
if (GlobalV::NPROC > PARAM.inp.KPAR)
131+
if (GlobalV::NPROC > PARAM.inp.kpar)
132132
{
133133
ModuleBase::WARNING_QUIT(
134134
"Driver::init_hardware",

0 commit comments

Comments
 (0)