Skip to content

Commit 816fce4

Browse files
Fix an uninitialized variable (#1131)
1 parent 712d944 commit 816fce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NeoMathEngine/src/CPU/CpuMathEngineDnnLstm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ CMathEngineLstmDesc::CMathEngineLstmDesc( bool isCompatibleMode,
6767
int hiddenSize, int objectSize, const CConstFloatHandle& inputWeights,
6868
const CConstFloatHandle& inputFreeTerm, const CConstFloatHandle& recurWeights,
6969
const CConstFloatHandle& recurFreeTerm ) :
70-
IsCompatibleMode( IsCompatibleMode ),
70+
IsCompatibleMode( isCompatibleMode ),
7171
HiddenSize( hiddenSize ),
7272
ObjectSize( objectSize ),
7373
InputWeights( GetRaw( inputWeights ) ),

0 commit comments

Comments
 (0)