From 1020b6be51f4475a2016d93799af5753014157fa Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 2 Jun 2024 02:55:57 +0300 Subject: test: ipa: rkisp1-utils: Fix coding style for template arguments The coding style names template arguments using CamelCase with an uppercase initial letter. Fix the template arguments in the rkisp1-utils test. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder Reviewed-by: Kieran Bingham --- test/ipa/rkisp1/rkisp1-utils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ipa/rkisp1/rkisp1-utils.cpp b/test/ipa/rkisp1/rkisp1-utils.cpp index 9fff0cdc..e48f8d36 100644 --- a/test/ipa/rkisp1/rkisp1-utils.cpp +++ b/test/ipa/rkisp1/rkisp1-utils.cpp @@ -21,10 +21,10 @@ using namespace ipa::rkisp1; class RkISP1UtilsTest : public Test { protected: - template + template int testSingleFixedPoint(double input, T expected) { - T ret = utils::floatingToFixedPoint(input); + T ret = utils::floatingToFixedPoint(input); if (ret != expected) { cerr << "Expected " << input << " to convert to " << expected << ", got " << ret << std::endl; @@ -35,7 +35,7 @@ protected: * The precision check is fairly arbitrary but is based on what * the rkisp1 is capable of in the crosstalk module. */ - double f = utils::fixedToFloatingPoint(ret); + double f = utils::fixedToFloatingPoint(ret); if (std::abs(f - input) > 0.005) { cerr << "Reverse conversion expected " << ret << " to convert to " << input -- cgit v1.2.1