Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
miseyu committed Feb 21, 2025
1 parent e603097 commit 7a988f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl ProcessorFactory for FeatureCityGmlReaderFactory {
flatten: params.flatten,
};
let threads_num = {
let size = (num_cpus::get() as f32 / 4 as f32).trunc() as usize;
let size = (num_cpus::get() as f32 / 4_f32).trunc() as usize;
if size < 1 {
1
} else {
Expand Down

0 comments on commit 7a988f7

Please sign in to comment.