Skip to content
This repository was archived by the owner on Nov 29, 2020. It is now read-only.

Commit fb6cdf9

Browse files
committed
include_check.py
1 parent ae979c4 commit fb6cdf9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

IterativeFFT.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_IterativeFFT
2525
#define FUNC_IterativeFFT
2626

27-
#include <cmath>
2827
#include "utils.h"
2928

3029
#include "RecursiveFFT.cpp"

RecursiveFFT.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef FUNC_RecursiveFFT
2525
#define FUNC_RecursiveFFT
2626

27-
#include <cmath>
2827
#include "utils.h"
2928

3029
#include "SquareMatrixMultiply.cpp"

include_check.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
if j == 'cassert' :
1010
assert 'assert(' in a
1111
elif j == 'algorithm' :
12-
assert 'std::max_element' in a
12+
assert 'std::max_element' in a or 'std::min_element' in a
1313
elif j == 'cmath' :
1414
assert 'pow' in a
1515
elif j == 'iomanip' :
@@ -18,7 +18,8 @@
1818
assert 'std::invalid_argument' in a
1919
elif j == 'map' :
2020
assert 'std::map' in a or 'std::pair' in a
21-
elif j in ['list', 'set', 'unordered_set', 'unordered_map'] :
21+
elif j in ['list', 'set', 'unordered_set', 'unordered_map',
22+
'deque', 'thread'] :
2223
assert 'std::' + j in a
2324
else :
2425
assert(False)

0 commit comments

Comments
 (0)