From 376b26c1e4851f456871646c7a7ef4ff1fa505c8 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 24 Apr 2018 20:16:14 -0700 Subject: [PATCH] Simplifies the rotational multiplier upon construction, to mitigate against scale issues later. --- Storage/Disk/Drive.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Storage/Disk/Drive.cpp b/Storage/Disk/Drive.cpp index 7bbc3c958..f32cb31f7 100644 --- a/Storage/Disk/Drive.cpp +++ b/Storage/Disk/Drive.cpp @@ -19,6 +19,7 @@ Drive::Drive(unsigned int input_clock_rate, int revolutions_per_minute, int numb Storage::TimedEventLoop(input_clock_rate), rotational_multiplier_(60, revolutions_per_minute), available_heads_(number_of_heads) { + rotational_multiplier_.simplify(); } Drive::~Drive() {