diff options
Diffstat (limited to 'lib/include')
-rw-r--r-- | lib/include/graph.hpp | 4 | ||||
-rw-r--r-- | lib/include/hooks.hpp | 2 | ||||
-rw-r--r-- | lib/include/network.hpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/include/graph.hpp b/lib/include/graph.hpp index 38c8edd..1089925 100644 --- a/lib/include/graph.hpp +++ b/lib/include/graph.hpp @@ -24,7 +24,7 @@ class graph { } vertex; typedef struct edge { - std::array<unsigned int, 2> v; + std::array<unsigned, 2> v; coordinate r; std::array<bool, 2> crossings; } edge; @@ -37,7 +37,7 @@ class graph { std::vector<vertex> dual_vertices; std::vector<edge> dual_edges; - graph(unsigned int Nx, unsigned int Ny); + graph(unsigned Nx, unsigned Ny); graph(double Lx, double Ly, std::mt19937& rng); }; diff --git a/lib/include/hooks.hpp b/lib/include/hooks.hpp index e617ac3..67313cc 100644 --- a/lib/include/hooks.hpp +++ b/lib/include/hooks.hpp @@ -8,7 +8,7 @@ class network; class hooks { public: virtual void pre_fracture(const network&) {}; - virtual void bond_broken(const network&, const current_info&, unsigned int) {}; + virtual void bond_broken(const network&, const current_info&, unsigned) {}; virtual void post_fracture(network&) {}; // post fracture hook can be destructive }; diff --git a/lib/include/network.hpp b/lib/include/network.hpp index 70173e6..f12c9c7 100644 --- a/lib/include/network.hpp +++ b/lib/include/network.hpp @@ -43,7 +43,7 @@ class network { ~network(); void set_thresholds(double, std::mt19937&); - void break_edge(unsigned int, bool unbreak = false); + void break_edge(unsigned, bool unbreak = false); current_info get_current_info(); void fracture(hooks&, double cutoff = 1e-13); }; |