vendredi 25 novembre 2016

Comparing vector of double

I am trying to compare two vectors. v1 = {0.520974 , 0.438171 , 0.559061} v2 = [0.520974 , 0.438171 , 0.559061}

I write v1 to a file, read and that's v2. For some reason when I compare the two vectors, I am getting false!

Thanks,

Aucun commentaire:

Enregistrer un commentaire