mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-24 07:36:24 +01:00
Remove some warnings
This commit is contained in:
parent
383d3bebfd
commit
5bd5397356
@ -13,9 +13,9 @@
|
|||||||
|
|
||||||
#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); \
|
||||||
} \
|
} \
|
||||||
return false; \
|
return false; \
|
||||||
}
|
}
|
||||||
@ -364,5 +364,6 @@ int count_null_weights(Network* network) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(void)null_bias;
|
||||||
return null_weights;
|
return null_weights;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user