Replace by condition to get rid of division by zero

I just want to replace an item when its value is zero thus avoid the divison by zero error,
I am struggling to make this node working
ReplaceByCondition, any help would be appreciated.
This is part of the large scheme here of coordinates tranformation.
The error says
" One or more of the input types are not matching. Couldn’t find a version of __Replace that takes arguments of type (__array,double,__array)"


Hi there

Here some possible solutions



Thanks a lot. It is a short class on how to use those nodes!!!