fixed clang warnings about alignment change and floating point precision

This commit is contained in:
Erik Schultheis
2021-12-18 17:18:16 +00:00
committed by Rasmus Munk Larsen
parent d0b4b75fbb
commit dee6428a71
2 changed files with 2 additions and 2 deletions

View File

@@ -494,7 +494,7 @@ EIGEN_UNUSED
Packet pexp_double(const Packet _x)
{
Packet x = _x;
const Packet cst_zero = pset1<Packet>(0.0f);
const Packet cst_zero = pset1<Packet>(0.0);
const Packet cst_1 = pset1<Packet>(1.0);
const Packet cst_2 = pset1<Packet>(2.0);
const Packet cst_half = pset1<Packet>(0.5);