Commit: 4fb30729f747edff7c70b350d5c72963cc303fdf
Parent: 2792de75fbbf726b2f820ceff606d4f395cfd54d
Author: Randy Palamar
Date: Fri, 4 Oct 2024 15:28:59 -0600
fix invalid matlab error tag
Again, refer to the previous commit. This software is awful.
(Also add CS_SUM to validation).
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/helpers/ogl_beamformer_lib.c b/helpers/ogl_beamformer_lib.c
@@ -122,8 +122,9 @@ os_open_shared_memory_area(char *name)
#define mexWarnMsgIdAndTxt mexWarnMsgIdAndTxt_800
void mexErrMsgIdAndTxt(const c8 *, c8 *, ...);
void mexWarnMsgIdAndTxt(const c8 *, c8 *, ...);
-#define error_msg(...) mexErrMsgIdAndTxt(__func__, __VA_ARGS__)
-#define warning_msg(...) mexWarnMsgIdAndTxt(__func__, __VA_ARGS__)
+#define error_tag "ogl_beamformer_lib:error"
+#define error_msg(...) mexErrMsgIdAndTxt(error_tag, __VA_ARGS__)
+#define warning_msg(...) mexWarnMsgIdAndTxt(error_tag, __VA_ARGS__)
#else
#define error_msg(...)
#define warning_msg(...)
@@ -161,6 +162,7 @@ set_beamformer_pipeline(char *shm_name, i32 *stages, i32 stages_count)
case CS_HADAMARD:
case CS_HERCULES:
case CS_MIN_MAX:
+ case CS_SUM:
case CS_UFORCES:
g_bp->compute_stages[i] = stages[i];
break;