Included cmath in common.hpp to avoid isnan complaints from the xcode compiler
turns out you need using::isnan too
the compiler complains about solver tests using pointers as bool
lint
fixed unnecessary conversions in test_solver, and rearraged common.hpp a bit
fix compiler complaint in matcaffe
Test that DropoutLayer obeys dropout_ratio.
Merge pull request #839 from jeffdonahue/test-dropout-ratio

Test that DropoutLayer obeys dropout_ratio
Add script to speedtest imagenet (currently broken as FilterNet ignores
Caffe::phase()).
Add tests for phase filtering according to Caffe singleton phase
(currently failing as FilterNet ignores the singleton phase).
Fix speedtest (and possibly other tools) by setting the net phase to the
current Caffe::phase() unless explicitly specified in the state.
Merge pull request #840 from jeffdonahue/fix-net-speedtest

Fix speed test tool (and possibly others); add script to speedtest imagenet
Merge pull request #834 from qipeng/dev

Included cmath in common.hpp to avoid isnan complaints from the xcode co...
Merge remote-tracking branch 'upstream/dev' into prod