Skip to content

Commit 2276288

Browse files
committed
Add missing cmath headers for Mac
1 parent 1772b1c commit 2276288

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

vpr/SRC/base/vpr_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <cstring>
1212
#include <ctime>
1313
#include <chrono>
14+
#include <cmath>
1415
using namespace std;
1516

1617

vpr/SRC/route/cb_metrics.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <string.h>
2424
#include <ctime>
2525
#include <utility>
26+
#include <cmath>
2627

2728
#include <string>
2829
#include <iostream>

0 commit comments

Comments
 (0)