From 7c41855cd0ca4308cd4dfab72e02c060a91afe11 Mon Sep 17 00:00:00 2001
From: Dominik Loidolt <dominik.loidolt@univie.ac.at>
Date: Mon, 21 Nov 2022 17:47:37 +0100
Subject: [PATCH] fix bug in round_fwd macro

---
 include/cmp_support.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/cmp_support.h b/include/cmp_support.h
index 2f83041..c5247e9 100644
--- a/include/cmp_support.h
+++ b/include/cmp_support.h
@@ -272,7 +272,7 @@ struct fx_cob_par {
  * @return rounded value
  */
 
-#define round_fwd(value, round) ((uint32_t)(value) << (round))
+#define round_fwd(value, round) ((uint32_t)(value) >> (round))
 
 
 /**
-- 
GitLab