Skip to content

Commit

Permalink
fix: emcc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SGSSGene committed Aug 27, 2024
1 parent 71c87c5 commit 5fc059f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/fmindex-collection/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
namespace fmindex_collection {

inline auto createSA64(std::span<uint8_t const> input, size_t threadNbr) -> std::vector<uint64_t> {
assert(input.size() < std::numeric_limits<int64_t>::max());
assert(uint64_t{input.size()} < std::numeric_limits<int64_t>::max());
auto sa = std::vector<uint64_t>(input.size());
if (input.size() == 0) {
return sa;
Expand Down
2 changes: 1 addition & 1 deletion src/test_fmindex-collection/bitvector/checkBitvector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <fmindex-collection/utils.h>
#include <fstream>
#include <nanobench.h>
#include <reflect>

#include "allBitVectors.h"

Expand All @@ -20,6 +19,7 @@ static auto getName() {
return str;
}
#else
#include <reflect>
template <typename T>
static auto getName() {
return std::string{reflect::type_name<T>()};
Expand Down
2 changes: 1 addition & 1 deletion src/test_fmindex-collection/rankvector/checkRankVector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <fmindex-collection/utils.h>
#include <fstream>
#include <nanobench.h>
#include <reflect>

#include "allRankVectors.h"

Expand All @@ -20,6 +19,7 @@ static auto getName() {
return str;
}
#else
#include <reflect>
template <typename T>
static auto getName() {
return std::string{reflect::type_name<T>()};
Expand Down

0 comments on commit 5fc059f

Please sign in to comment.