fix double -> Scalar in weakform template. It was a problem in win