Skip to content

Commit

Permalink
[coverity] fix coverity issue
Browse files Browse the repository at this point in the history
Fix coverity issue on
- /test/unittest/layers/layers_golden_recurrent.cpp

The other issues assigned have already been fixed.

**Self evaluation:**
1. Build test:	 [X]Passed [ ]Failed [ ]Skipped
2. Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Seungbaek Hong <sb92.hong@samsung.com>
  • Loading branch information
baek2sm authored and jijoongmoon committed Mar 26, 2024
1 parent c625cdc commit 534ce67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/unittest/models/unittest_models_recurrent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,5 @@ GTEST_PARAMETER_TEST(
ModelTestOption::ALL_V2),
mkModelTc_V2(makeStackedGRUCellFC, "grucell_fc", ModelTestOption::ALL_V2),
}),
[](const testing::TestParamInfo<nntrainerModelTest::ParamType> &info) {
return std::get<1>(info.param);
});
[](const testing::TestParamInfo<nntrainerModelTest::ParamType> &info)
-> const auto & { return std::get<1>(info.param); });

0 comments on commit 534ce67

Please sign in to comment.