Remove some warnings

This commit is contained in:
augustin64 2023-02-19 15:02:21 +01:00
parent 383d3bebfd
commit 5bd5397356

View File

@ -13,7 +13,7 @@
#define checkEquals(var, name, indice) \ #define checkEquals(var, name, indice) \
if (network1->var != network2->var) { \ if (network1->var != network2->var) { \
printf_error("network1->" name " et network2->" name " ne sont pas égaux\n"); \ printf_error((char*)"network1->" name " et network2->" name " ne sont pas égaux\n"); \
if (indice != -1) { \ if (indice != -1) { \
printf(BOLDBLUE "[ INFO_ ]" RESET " indice: %d\n", indice); \ printf(BOLDBLUE "[ INFO_ ]" RESET " indice: %d\n", indice); \
} \ } \
@ -364,5 +364,6 @@ int count_null_weights(Network* network) {
} }
} }
(void)null_bias;
return null_weights; return null_weights;
} }