Circumvent an error in test_dot for Numpy 1.12.0.
Numpy 1.12.0 updated iscomplexobj which always shows False for tinyarrays, which makes assert_almost_equal fail for complex array-valued arguments, as they will not be split up into real and imaginary part. We circumvent this bug by testing every entry separately in this case. This bug will be fixed for Numpy 1.12.1.
Fixes #11 (closed)