From ed99fbe81749f5bebeee987d01b088cf2ef0ccb3 Mon Sep 17 00:00:00 2001 From: Ari Trachtenberg <trachten@bu.edu> Date: Thu, 14 Nov 2024 17:43:17 -0500 Subject: [PATCH] Corrected error in labFour_pTwo - thanks Mimi Paule! --- problems/LabFour_ChapterEleven.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/problems/LabFour_ChapterEleven.h b/problems/LabFour_ChapterEleven.h index 865c855..59c92bc 100644 --- a/problems/LabFour_ChapterEleven.h +++ b/problems/LabFour_ChapterEleven.h @@ -74,7 +74,7 @@ int labFour_pTwo_exchange(int dollars); * -1 | 1 // hard-coded * 0 | 1.5 = 0.25+ 0.25+ 0.5+ 0.5 * 1 | 1.75 = 0.25+ 0.25+ 0.5+ 0.75 - * 2 | 1.875 = 0.25+ 0.25+ 0.75+ 0.875 - * 3 | 2.4375 = 0.25+ 0.375+ 0.875+ 0.9375 + * 2 | 2.125 = 0.25+ 0.25+ 0.75+ 0.875 + * 3 | 2.5625 = 0.25+ 0.375+ 0.875+ 1.0625 */ -int labFour_pThree_genFib(vector<float> filter, int nn); \ No newline at end of file +float labFour_pThree_genFib(vector<float> filter, int nn); \ No newline at end of file -- GitLab