Skip to content
Snippets Groups Projects
Commit 155b2980 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[test.float_cmp] use correct epsilon for complex entries

parent 556c6b87
No related branches found
No related tags found
No related merge requests found
......@@ -39,11 +39,12 @@ struct FloatCmpBase : public testing::Test
{
typedef typename VectorAbstraction<V>::ScalarType S;
typedef typename VectorAbstraction<V>::RealType R;
FloatCmpBase()
: zero(create<V>(s_size, create<S>(0, 0)))
, one(create<V>(s_size, create<S>(0, 1)))
, epsilon(create<V>(s_size, DefaultEpsilon<S>::value()))
, epsilon(create<V>(s_size, DefaultEpsilon<R>::value()))
{
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment