makeDivisible method

Iterable<double> makeDivisible()

Implementation

Iterable<double> makeDivisible() sync* {
  for (int i = 0; i < length; i++) {
    yield (this[i] == 0) ? 0.001 : this[i].toDouble();
  }
}