commit | ffa324765e8b480faaee681412c83657b816cf7d | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Sun Mar 15 18:11:17 2015 +0000 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Sun Mar 15 22:30:50 2015 +0000 |
tree | c6de3aa2e0c7261e252009f47e7ee69c0d687096 | |
parent | 8db90ca2f6889b1a34f5deffcc28137abbbcd62d [diff] |
Force use of single-thread in Problem::Evaluate() without OpenMP. - Ensure that, as in the preprocessor, we force num_threads to be 1 if Ceres was compiled without OpenMP to prevent a CHECK() failure in internal code. Change-Id: I49d7bdeff81e5bb24aaaa3945018d9d012cd9df9