Skip to content

Commit

Permalink
Replace f32::from_bits (new conflicting impl) with Ieee754::from_bits (
Browse files Browse the repository at this point in the history
  • Loading branch information
gavento authored and johanneskoester committed Jun 12, 2017
1 parent 3872f2e commit 1274978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bcf/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ use htslib;
const MISSING_INTEGER: i32 = i32::MIN;
const VECTOR_END_INTEGER: i32 = i32::MIN + 1;
lazy_static!{
static ref MISSING_FLOAT: f32 = f32::from_bits(0x7F800001);
static ref VECTOR_END_FLOAT: f32 = f32::from_bits(0x7F800002);
static ref MISSING_FLOAT: f32 = Ieee754::from_bits(0x7F800001);
static ref VECTOR_END_FLOAT: f32 = Ieee754::from_bits(0x7F800002);
}


Expand Down

0 comments on commit 1274978

Please sign in to comment.