Skip to content

Conversation

jmh530
Copy link
Contributor

@jmh530 jmh530 commented Jul 10, 2017

Fixing a bug in the way zip checks for lengths and strides.

The way it previously worked did not account for the fact that the foreach loop starts with i=0, but only goes through the length of Slices[1 .. $].length, so it will unnecessarily check i=0 and miss the last data point. The fix bumps up i to i+1

See issue 59

Fixing a bug in the way zip checks for lengths and strides.
@codecov-io
Copy link

codecov-io commented Jul 10, 2017

Codecov Report

Merging #60 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@ ## master #60 +/- ## ====================================== Coverage 96.3% 96.3% ====================================== Files 28 28 Lines 4704 4704 ====================================== Hits 4530 4530 Misses 174 174
Impacted Files Coverage Δ
source/mir/ndslice/topology.d 98.94% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b744214...b6e4b63. Read the comment docs.

@9il 9il merged commit 8099de8 into libmir:master Jul 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants