mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 15:16:26 +01:00
Fix non defined variable in initialisation.c
This commit is contained in:
parent
3f9114c245
commit
866e2f9a16
@ -12,7 +12,7 @@
|
||||
void initialisation_1d_matrix(int initialisation, float* matrix, int dim, int n_in) {
|
||||
int n;
|
||||
if (initialisation == GLOROT) {
|
||||
n = (n_in + n)/2;
|
||||
n = (n_in + dim)/2;
|
||||
|
||||
} else if (initialisation == HE) {
|
||||
n = n_in/2;
|
||||
|
Loading…
Reference in New Issue
Block a user