Skip to content

Commit 506af6e

Browse files
authored
Merge pull request #9 from RecepBirol/patch-1
Fixed macro expansion
2 parents 1980d8d + 938bebc commit 506af6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extern "C" {
99

1010
#define TIME_TYPE clock_t
1111
#define GET_TIME(res) { res = clock(); }
12-
#define TIME_DIFF_IN_MS(begin, end) (((double) (end - start)) * 1000 / CLOCKS_PER_SEC)
12+
#define TIME_DIFF_IN_MS(begin, end) (((double) (end - begin)) * 1000 / CLOCKS_PER_SEC)
1313
#define UNUSED __attribute__((unused))
1414

1515
struct result {

0 commit comments

Comments
 (0)