Skip to content

Commit

Permalink
Update bfloat16.cc
Browse files Browse the repository at this point in the history
lvalue error fix
GreenWaves-Technologies#5
  • Loading branch information
swmoon00 authored Aug 21, 2023
1 parent efc753e commit 2479f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bfloat16.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@ namespace greenwaves
NPyBfloat16_ArrFuncs.argmax = NPyBfloat16_ArgMaxFunc;
NPyBfloat16_ArrFuncs.argmin = NPyBfloat16_ArgMinFunc;

Py_TYPE(&NPyBfloat16_Descr) = &PyArrayDescr_Type;
Py_SET_TYPE(&NPyBfloat16_Descr, &PyArrayDescr_Type);
npy_bfloat16 = PyArray_RegisterDataType(&NPyBfloat16_Descr);
bfloat16_type_ptr = &bfloat16_type;
if (npy_bfloat16 < 0)
Expand Down

0 comments on commit 2479f6c

Please sign in to comment.