Write this as Scalar2(3.0) otherwise apply is very generic.