Browse Source

Minor textual fixes

georgeg
Pjotr Prins 4 years ago
parent
commit
5c9f0e0f48
  1. 2
      README.md
  2. 4
      bio/std/decompress.d
  3. 1
      bio2/bgzf.d

2
README.md

@ -15,7 +15,7 @@ D is a language that suits parallel programming because of guarantees
the compiler provides. D is both a low-level language and a high-level
hybrid OOP/FP language. There is no other programming language that
matches those features. Also, D templating/generics is far easier that
that of C++ or, say, Scala.
that of C++.
That is not to say that D is an easy language. A powerful toolbox will
be complicated. If you want to do everything with a hammer, maybe

4
bio/std/decompress.d

@ -94,8 +94,8 @@ unittest {
chars += s.length;
lines = line;
}
assert(lines == 7319,"genotype lines " ~ to!string(lines+1)); // fails with ldc2 < 1.10!
assert(chars == 4707218,"chars " ~ to!string(chars));
assert(lines == 7319,"genotype lines " ~ to!string(lines+1));
}
/**
@ -191,6 +191,6 @@ unittest {
chars += s.length;
lines = line;
}
assert(chars == 4707218,"chars " ~ to!string(chars));
assert(lines == 7319,"genotype lines " ~ to!string(lines+1));
assert(chars == 4707218,"chars " ~ to!string(chars));
}

1
bio2/bgzf.d

@ -49,7 +49,6 @@ import std.typecons;
import std.zlib : calc_crc32 = crc32, ZlibException;
import bio.bam.constants;
import bio.core.bgzf.block;
import bio.core.bgzf.constants;
import bio.core.utils.zlib : inflateInit2, inflate, inflateEnd, Z_OK, Z_FINISH, Z_STREAM_END;

Loading…
Cancel
Save