mathnet/mathnet-numerics — Issue #19: CommonParallel does not support empty loops
Author: cdrnet
Created: 2011-10-09 21:44:51+00:00
State: open
Labels: BUG, Confirmed, Priority - CRITICAL

CommonParallel.For breaks on empty loops (fromInclusive=0, toExclusive=0) with an ArgumentOutOfRange exception instead of just skipping the whole operation.

While we're at it, we should also consider to special-case the case of only a single item.