From 70b9398b903b15d0ad59c494a8cbf3a17d16c00b Mon Sep 17 00:00:00 2001 From: TimQu Date: Mon, 13 May 2019 13:53:24 +0200 Subject: [PATCH] storage/Scheduler: Fixed a constructor. --- src/storm/storage/Scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm/storage/Scheduler.cpp b/src/storm/storage/Scheduler.cpp index 252cd1ebc..ed118b4ca 100644 --- a/src/storm/storage/Scheduler.cpp +++ b/src/storm/storage/Scheduler.cpp @@ -17,7 +17,7 @@ namespace storm { template Scheduler::Scheduler(uint_fast64_t numberOfModelStates, boost::optional&& memoryStructure) : memoryStructure(std::move(memoryStructure)) { - uint_fast64_t numOfMemoryStates = memoryStructure ? memoryStructure->getNumberOfStates() : 1; + uint_fast64_t numOfMemoryStates = this->memoryStructure ? this->memoryStructure->getNumberOfStates() : 1; schedulerChoices = std::vector>>(numOfMemoryStates, std::vector>(numberOfModelStates)); numOfUndefinedChoices = numOfMemoryStates * numberOfModelStates; numOfDeterministicChoices = 0;