From 678dfaf0503c7e7fd8f57cae9ce8c6a8474469b7 Mon Sep 17 00:00:00 2001
From: Simon Oehrl <oehrl@vr.rwth-aachen.de>
Date: Sun, 5 Apr 2020 18:24:02 +0200
Subject: [PATCH] Properly initialize current simulation time

---
 data_storage.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/data_storage.cpp b/data_storage.cpp
index c82b649..4ed7af7 100644
--- a/data_storage.cpp
+++ b/data_storage.cpp
@@ -39,6 +39,7 @@ DataStorage::DataStorage(
   //     h5_file_->createDataSet("spikes/neurons", H5::PredType::NATIVE_UINT64,
   //                             spikes_data_space, spikes_set_properties_);
   buffered_spikes_.reserve(32 * 1024 * 1024 / sizeof(Spike)); // Reserve 32mb
+  SetCurrentSimulationTime(0.0);
 }
 
 void DataStorage::AddNeuronId(uint64_t neuron_id) {
-- 
GitLab