From 29bd27c07614b31b04501bfad526a6bb3a5746d5 Mon Sep 17 00:00:00 2001 From: Pardeep Bhatt Date: Sat, 26 Sep 2020 01:08:11 +0530 Subject: [PATCH] added documentation for template parameter --- dynamic_programming/cut_rod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic_programming/cut_rod.cpp b/dynamic_programming/cut_rod.cpp index 5bfe163df..596e54d19 100644 --- a/dynamic_programming/cut_rod.cpp +++ b/dynamic_programming/cut_rod.cpp @@ -36,7 +36,7 @@ namespace cut_rod { /** * @brief Cuts the rod in different pieces and * stores the maximum profit for each piece of the rod. - * @tparam T description + * @tparam T size of the price array * @param n size of the rod in inches * @param price an array of prices that contains prices of all pieces of size<=n * @return maximum profit obtainable for @param n inch rod.