Fixed bug in InPlaceGenColVecElemIndGenDouble