Skip to content

Commit e867f24

Browse files
author
Balint Joo
committed
Moved #include <complex.h> to after gtest.h
To avoid a #define conflict between <complex.h> and gtest.h when using HIPcc compiler
1 parent d6d7da1 commit e867f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/gauge_path_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include <stdio.h>
22
#include <stdlib.h>
33
#include <string.h>
4-
#include <complex.h>
54

65
#include <quda.h>
76
#include <host_utils.h>
@@ -12,6 +11,7 @@
1211
#include <gauge_path_quda.h>
1312
#include <timer.h>
1413
#include <gtest/gtest.h>
14+
#include <complex>
1515

1616
static QudaGaugeFieldOrder gauge_order = QUDA_QDP_GAUGE_ORDER;
1717

0 commit comments

Comments
 (0)