Commit f66e157a authored by ehebrard's avatar ehebrard
Browse files

resize 0

parent ac4eec83
...@@ -156,14 +156,14 @@ template <typename T> ...@@ -156,14 +156,14 @@ template <typename T>
SparseDistanceGraph<T>::SparseDistanceGraph(Schedule<T> &s) SparseDistanceGraph<T>::SparseDistanceGraph(Schedule<T> &s)
: ReversibleObject(), sched(s) { : ReversibleObject(), sched(s) {
initialise(); // initialise();
} }
template <typename T> void SparseDistanceGraph<T>::initialise() { template <typename T> void SparseDistanceGraph<T>::initialise() {
auto n{sched.numEvent()}; auto n{sched.numEvent()};
if(n > 0) { if(n > 0) {
predecessor.resize(n); predecessor.resize(n);
successor.resize(n); successor.resize(n);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment