Skip to content

Commit

Permalink
Try to solve windows compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
honnibal committed Jan 8, 2025
1 parent d01a95b commit 0b18d7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blis/_src/frame/base/bli_const.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ static constdata_t bli_mone_buffer = bli_obj_init_constdata( -1.0 );
static constdata_t bli_mtwo_buffer = bli_obj_init_constdata( -2.0 );
static constdata_t bli_onei_buffer = bli_obj_init_constdata_ri( 0.0, 1.0 );
static constdata_t bli_monei_buffer = bli_obj_init_constdata_ri( 0.0, -1.0 );
static constdata_t bli_nan_buffer = bli_obj_init_constdata_ri( NAN, NAN );
// NAN is not a compile time constant on certain windows, so use IEEE code
static constdata_t bli_nan_buffer = bli_obj_init_constdata_ri( 0x7FC00000, 0x7FC00000 );

// Statically initialize global scalar constants, attaching the addresses
// of the corresponding structs above.
Expand Down

0 comments on commit 0b18d7b

Please sign in to comment.