From b65d0b841b7e4357bc2cf743bbb03384a3ab0bfa Mon Sep 17 00:00:00 2001 From: "Field G. Van Zee" Date: Thu, 7 Jun 2018 14:38:41 -0500 Subject: [PATCH] Fixed bug in bli_dt_proj_to_complex(). Details: - Fixed a bug identical to the one fixed in 0a4a27e, except this time in the bli_obj_param_defs.h header file. It looks like the only consumers of this static function were in bli_l0_oapi.c, and so this may not have been manifesting (yet). --- frame/include/bli_obj_macro_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/include/bli_obj_macro_defs.h b/frame/include/bli_obj_macro_defs.h index aaa939ea0..7a415dedb 100644 --- a/frame/include/bli_obj_macro_defs.h +++ b/frame/include/bli_obj_macro_defs.h @@ -108,7 +108,7 @@ static num_t bli_obj_dt_proj_to_real( obj_t* obj ) static num_t bli_obj_dt_proj_to_complex( obj_t* obj ) { - return ( bli_obj_dt( obj ) & BLIS_BITVAL_COMPLEX ); + return ( bli_obj_dt( obj ) | BLIS_BITVAL_COMPLEX ); } static num_t bli_obj_target_dt( obj_t* obj )