Conditionally log evaluation failure warnings.

Logging was happening unconditionally and that is rather jarring
in certain circumstances, e.g., when ceres is being called
inside a RANSAC loop.

Thanks to Bryan Klingner for reporting this.

Change-Id: I97a0b6c48df51f5f7362eb9d46654712ef044a00
1 file changed