Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed 64bit vc++ warning. removed debug code that caused false-positi…

…ve score error exception
  • Loading branch information...
commit c9569e44efb908338c8cb0d71ecf9c4b9e865933 1 parent 8500fdb
@sim82 authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  papara.cpp
  2. +1 −1  sequence_model.h
View
2  papara.cpp
@@ -1052,7 +1052,7 @@ std::vector< std::vector< uint8_t > > driver<pvec_t,seq_tag>::generate_traces(st
if( bounds.first == size_t(-1) ) {
- if( true || score != res.bestscore_at(i) ) {
+ if( score != res.bestscore_at(i) ) {
std::cout << "meeeeeeep! score: " << res.bestscore_at(i) << " " << score << "\n";
throw std::runtime_error( "alignment scores differ between the vectorized and sequential alignment kernels.");
}
View
2  sequence_model.h
@@ -226,7 +226,7 @@ class model<tag_dna4> {
static inline uint8_t gap_cstate() {
- return inverse_meaning.size() - 1;
+ return uint8_t(inverse_meaning.size() - 1);
}
static inline bool cstate_is_gap( uint8_t cs) {
Please sign in to comment.
Something went wrong with that request. Please try again.