I would like to compare two arrays a=:
but this doesn't seem to work? Can anyone tell me what I am doing wrong?
Basically the conditional only updates b to be sum of a and b only when a non zero is detected in b or else it should do nothing, but can't work out why it is not summing. Or must I first flatten it?