Skip to content

Commit

Permalink
Fix hypothetical type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Constantin authored and Constantin committed Jun 17, 2022
1 parent 046f640 commit f05813b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdf_algorithm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn calculate_sdf_at_rec(mm: &Arc<Mipmap>, x: u32, y:u32, dst_level: u8, best_dst
best_dst_sqr
}

fn calculate_sdf_at(mm: &Arc<Mipmap>, x: u32, y:u32, dst_level: u8) -> f64 {
fn calculate_sdf_at(mm: &Arc<Mipmap>, x: u32, y:u32, dst_level: u8) -> DstT {
let pxpos = Mipmap::get_center(x,y,dst_level);
let pxval = mm.get_value(&pxpos);
let task = create_task(x,y,0,0,mm.get_max_level());
Expand Down

0 comments on commit f05813b

Please sign in to comment.