diff options
author | Dennis Kobert <dennis@kobert.dev> | 2020-01-05 22:39:49 +0100 |
---|---|---|
committer | Dennis Kobert <dennis@kobert.dev> | 2020-01-05 22:39:49 +0100 |
commit | 04a48907c0b6615026e2bc8429fa6a3b6634d177 (patch) | |
tree | 83ae926b9a5366c787058dba041f8d56c5199ea6 /src/structs.rs | |
parent | d343b5e10ec2dbd526decbfa984168cf2509f48c (diff) | |
parent | 737a1cc99ecff68618a2e62929207a778a4870e6 (diff) |
Merge branch 'master' of kobert:/var/repos/babel
Diffstat (limited to 'src/structs.rs')
-rwxr-xr-x | src/structs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/structs.rs b/src/structs.rs index 55cff29..c61bb14 100755 --- a/src/structs.rs +++ b/src/structs.rs @@ -63,7 +63,7 @@ impl GapHeights { } pub fn add_gap(&mut self, height: u32) { - self.add_gap(height) + self.heights.push(height) } pub fn calculate_row(&self, r: u32, stones: &mut [u32]) { |