perlin values in 2d array

hi im trying to fill a 2d array with values from perlin noise for making some perlin flow fields.
Im using this for filling my array:

for (int i = 0; i < 8; i++){
for (int j = 0; j < 8; j++){

matrix_flow_fields[i][j] = noise->noise((float)i/115 , (float)j/115 );
}
}

The problem im having is it seems it doesnt fill my array , my array always appears full with “0”. Do anybody have an idea of why is that?

If i print the values directly in the screen with :

ofDrawBitmapString("perlin value : " + ofToString( noise->noise((float)4/115 , (float)4/115 )) , 260, 160);

…i can see the perlin values, but when i fill my arrays with perlin values i just got an array with zeros inside .

Any idea of what am i doing wrong, or how to fix this ?
thanks

A.

is matrix_flow_fields a vector of floats? how are you printing? is the print converting floats to ints and throwing away the data?