Can't add a value to a value in eigen

I'm trying to get this to work:
Board(row, col) += (1.0f / 6.0f);

Board(row,col) is 0.17 and the answer should be 0.33, but instead it's 6.2..

Can someone help me?
what is board?

if an array or type, perhaps you meant board[row][col] or something.
if it is a function that returns a pointer, you might need
board(r,c)[0] = ...;

we have no idea what you have there... so I am just tossing out some stuff.
Topic archived. No new replies allowed.