Skip to content

Commit

Permalink
fix icc compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed May 28, 2021
1 parent fa49527 commit 6ff52dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/test/matrix/dense_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2004,7 +2004,7 @@ TYPED_TEST(Dense, NonSquareSubmatrixIsTransposableIntoDense)

this->mtx4->create_submatrix({0, 1}, {0, 2})->transpose(trans.get());

GKO_ASSERT_MTX_NEAR(trans, l<T>({{1.0}, {3.0}}), 0.0);
GKO_ASSERT_MTX_NEAR(trans, l<T>({1.0, 3.0}), 0.0);
ASSERT_EQ(trans->get_stride(), 5);
}

Expand Down Expand Up @@ -4186,7 +4186,7 @@ TYPED_TEST(DenseComplex, Dot)

a->compute_dot(b.get(), result.get());

GKO_ASSERT_MTX_NEAR(result, l<T>({T{22.0, 15.0}}), 0.0);
GKO_ASSERT_MTX_NEAR(result, l({T{22.0, 15.0}}), 0.0);
}


Expand All @@ -4203,7 +4203,7 @@ TYPED_TEST(DenseComplex, ConjDot)

a->compute_conj_dot(b.get(), result.get());

GKO_ASSERT_MTX_NEAR(result, l<T>({T{10.0, -25.0}}), 0.0);
GKO_ASSERT_MTX_NEAR(result, l({T{10.0, -25.0}}), 0.0);
}


Expand Down

0 comments on commit 6ff52dc

Please sign in to comment.