From 9e58e39f261054d1c9adee987f8e218c7d8ef16b Mon Sep 17 00:00:00 2001
From: Cameron Stewart <cstewart@icp.uni-stuttgart.de>
Date: Wed, 28 Nov 2018 18:59:01 +0100
Subject: [PATCH] another conversion error fixed

---
 tests/lbm/SuViscoelasticityTest.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/lbm/SuViscoelasticityTest.cpp b/tests/lbm/SuViscoelasticityTest.cpp
index 09489f6fc..822456bb7 100644
--- a/tests/lbm/SuViscoelasticityTest.cpp
+++ b/tests/lbm/SuViscoelasticityTest.cpp
@@ -293,10 +293,10 @@ int main(int argc, char ** argv ){
 
 
    // compare to reference data
-   real_t errSteady = fabs(testData->getUSteady() - real_c(1.0))/real_c(1.0);
-   real_t errMax = fabs(testData->getUMax() - uMax)/uMax;
-   real_t errt0 = fabs(testData->getT0() - t0)/t0;
-   real_t errt1 = fabs(testData->getT1() - t1)/t1;
+   real_t errSteady = real_c(fabs(testData->getUSteady() - real_c(1.0))/real_c(1.0));
+   real_t errMax = real_c(fabs(testData->getUMax() - uMax)/uMax);
+   real_t errt0 = real_c(fabs(testData->getT0() - t0)/t0);
+   real_t errt1 = real_c(fabs(testData->getT1() - t1)/t1);
 
    WALBERLA_LOG_RESULT("Steady State Velocity Error: " << errSteady );
    WALBERLA_LOG_RESULT("Maximum Velocity Error: " << errMax );
-- 
GitLab