Skip to content

Commit 6b8b931

Browse files
committed
3.1.3: Fix minor bugs, remove warnings, improve code and docs
1 parent 35d5c05 commit 6b8b931

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,24 @@ swarm 4.0.0:
427427

428428
## Version history ##
429429

430+
### version 3.1.3 ###
431+
432+
**swarm** 3.1.3 fixes a few minor bugs, removes warnings, and improves code
433+
and documentation:
434+
- fix: bug introduced in version 3.1.1, that caused swarm to allocate way too
435+
much memory when d > 1 (bug had no impact on clustering results),
436+
- fix: off-by-one error when allocating memory for a Bloom filter (bug had no
437+
impact on clustering results),
438+
- fix: compilation warning with GCC 12 (and more recent) when using link-time
439+
optimization,
440+
- fix: compilation warning with clang 13 (and more recent): unused set
441+
variable,
442+
- fix: five clang-tidy warnings (readability-braces-around-statements),
443+
- fix: minor code refactoring,
444+
- improve: more uniform vocabulary throughout swarm's documentation (code,
445+
help, manpage, README, companion scripts and wiki),
446+
- improve: code coverage of our test suite (swarm-tests).
447+
430448
### version 3.1.2 ###
431449

432450
**swarm** 3.1.2 fixes a bug with fastidious mode introduced in version

man/swarm.1

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\" ============================================================================
2-
.TH swarm 1 "November 10, 2022" "version 3.1.2" "USER COMMANDS"
2+
.TH swarm 1 "December 5, 2022" "version 3.1.3" "USER COMMANDS"
33
.\" ============================================================================
44
.SH NAME
55
swarm \(em find clusters of nearly-identical nucleotide amplicons
@@ -526,6 +526,18 @@ Torbjørn Rognes and documented by Frédéric Mahé, and is available at
526526
New features and important modifications of \fBswarm\fR (short lived
527527
or minor bug releases are not mentioned):
528528
.RS
529+
.TP
530+
.BR v3.1.3\~ "released December 5, 2022"
531+
Version 3.1.3 fixes a few minor bugs, removes warnings, and improves code and documentation:
532+
fix: bug introduced in version 3.1.1, that caused swarm to allocate way too much memory when d > 1 (bug had no impact on clustering results),
533+
fix: off-by-one error when allocating memory for a Bloom filter (bug had no impact on clustering results),
534+
fix: compilation warning with GCC 12 (and more recent) when using link-time optimization,
535+
fix: compilation warning with clang 13 (and more recent): unused set variable,
536+
fix: five clang-tidy warnings (readability-braces-around-statements),
537+
fix: minor code refactoring,
538+
improve: more uniform vocabulary throughout swarm's documentation (code, help, manpage, README, companion scripts and wiki),
539+
improve: code coverage of our test suite (swarm-tests).
540+
529541
.TP
530542
.BR v3.1.2\~ "released November 10, 2022"
531543
Fix a bug with fastidious mode introduced in version 3.1.1, that could

src/swarm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static_assert(INT_MAX > INT16_MAX, "Your compiler uses very short integers.");
104104

105105
/* constants */
106106

107-
const std::string swarm_version {"3.1.2"};
107+
const std::string swarm_version {"3.1.3"};
108108
constexpr char sepchar {' '};
109109
constexpr char dash_filename {'-'};
110110
constexpr unsigned int opt_differences_default {1};

0 commit comments

Comments
 (0)