handle dummy gains vector in recompute method. #85