Skip to content

Commit da3aa58

Browse files
committed
kmeans: Define typecode if not set
1 parent 2e748c9 commit da3aa58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/emlkmeans/kmeans.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
#include <string.h>
55
#include <stdint.h>
66

7+
#ifndef BYTEARRAY_TYPECODE
8+
#define BYTEARRAY_TYPECODE 1
9+
#endif
10+
711
#if 0
812
#define debug_printf(...) mp_printf(&mp_plat_print, "eml-kmeans-" __VA_ARGS__)
913
#else

0 commit comments

Comments
 (0)