Because C++ doesn't have proper nan initialization support. Hence, just use 0.0 for the warned lines.