change argument type for ref parameter in Product loop. Fix #604
Merge pull request #625 from lunika/604-incoherent-type-for-ref-product-loop-parameter

change argument type for ref parameter in Product loop. Fix #604