@@ -70,8 +70,8 @@ impl Count {
7070 if self . depth < 13 {
7171 build_count_map_explicit :: < u32 > ( self . depth , self . input ) . and_then ( |map| {
7272 match self . implicit_over_explicit_ratio {
73- Some ( threshold) if map. is_implicit_the_best_representation ( threshold) => {
74- map. into_implicit_skymap ( ) . to_fits_file ( self . output )
73+ Some ( threshold) if map. is_implicit_the_best_representation ( 0 , threshold) => {
74+ map. into_implicit_skymap ( 0 ) . to_fits_file ( self . output )
7575 }
7676 _ => map. to_fits_file ( self . output ) ,
7777 }
@@ -80,8 +80,8 @@ impl Count {
8080 } else {
8181 build_count_map_explicit :: < u64 > ( self . depth , self . input ) . and_then ( |map| {
8282 match self . implicit_over_explicit_ratio {
83- Some ( threshold) if map. is_implicit_the_best_representation ( threshold) => {
84- map. into_implicit_skymap ( ) . to_fits_file ( self . output )
83+ Some ( threshold) if map. is_implicit_the_best_representation ( 0 , threshold) => {
84+ map. into_implicit_skymap ( 0 ) . to_fits_file ( self . output )
8585 }
8686 _ => map. to_fits_file ( self . output ) ,
8787 }
@@ -91,8 +91,8 @@ impl Count {
9191 } else {
9292 build_count_map_implicit ( self . depth , self . input ) . and_then ( |map| {
9393 match self . implicit_over_explicit_ratio {
94- Some ( threshold) if !map. is_implicit_the_best_representation ( threshold) => {
95- map. into_explicit_skymap ( ) . to_fits_file ( self . output )
94+ Some ( threshold) if !map. is_implicit_the_best_representation ( 0 , threshold) => {
95+ map. into_explicit_skymap ( 0 ) . to_fits_file ( self . output )
9696 }
9797 _ => map. to_fits_file ( self . output ) ,
9898 }
@@ -128,8 +128,8 @@ impl Dens {
128128 build_count_map_explicit :: < u32 > ( self . depth , self . input ) . and_then ( |map| {
129129 let map = map. to_dens_map_par ( ) ;
130130 match self . implicit_over_explicit_ratio {
131- Some ( threshold) if map. is_implicit_the_best_representation ( threshold) => {
132- map. into_implicit_skymap ( ) . to_fits_file ( self . output )
131+ Some ( threshold) if map. is_implicit_the_best_representation ( 0.0 , threshold) => {
132+ map. into_implicit_skymap ( 0.0 ) . to_fits_file ( self . output )
133133 }
134134 _ => map. to_fits_file ( self . output ) ,
135135 }
@@ -139,7 +139,7 @@ impl Dens {
139139 build_count_map_explicit :: < u64 > ( self . depth , self . input ) . and_then ( |map| {
140140 let map = map. to_dens_map_par ( ) ;
141141 match self . implicit_over_explicit_ratio {
142- Some ( threshold) if map. is_implicit_the_best_representation ( threshold) => {
142+ Some ( threshold) if map. is_implicit_the_best_representation ( 0.0 , threshold) => {
143143 warn ! ( "No implicit representation available for DensityMap of depth >= 13!" ) ;
144144 // map.into_implicit_skymap().to_fits_file(self.output)
145145 map. to_fits_file ( self . output )
@@ -324,7 +324,7 @@ impl Operation {
324324 OpType :: Add => {
325325 let thread_pool = get_thread_pool ( self . parallel ) ;
326326 thread_pool
327- . install ( || l. par_add ( r) )
327+ . install ( || l. par_add ( r, Default :: default ( ) ) )
328328 . and_then ( |res| res. to_fits_file ( self . output ) )
329329 . map_err ( |e| e. into ( ) )
330330 }
0 commit comments