Skip to content

Commit

Permalink
Fix missing headers for g++-6
Browse files Browse the repository at this point in the history
  • Loading branch information
kmurray committed Dec 5, 2016
1 parent 07627fb commit c367b76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions vpr/SRC/base/atom_netlist.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <algorithm>
#include <unordered_set>
#include <queue>
#include <numeric>

#include "atom_netlist.h"

Expand Down
3 changes: 2 additions & 1 deletion vpr/SRC/base/atom_netlist_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <set>
#include <algorithm>
#include <iterator>
#include <cmath>

#include "vtr_assert.h"
#include "vtr_log.h"
Expand Down Expand Up @@ -997,7 +998,7 @@ std::vector<vtr::LogicValue> truth_table_to_lut_mask(const AtomNetlist::TruthTab
bool on_set = truth_table_encodes_on_set(truth_table);

//Initialize the lut mask
size_t mask_bits = pow(2, num_inputs);
size_t mask_bits = std::pow(2, num_inputs);
std::vector<vtr::LogicValue> mask;
if(on_set) {
//If we are encoding the on-set the background value is false
Expand Down
1 change: 1 addition & 0 deletions vpr/SRC/base/netlist_writer.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <bitset>
#include <memory>
#include <unordered_set>
#include <cmath>

#include "vtr_assert.h"
#include "vtr_util.h"
Expand Down

0 comments on commit c367b76

Please sign in to comment.