Commit 1ce23567 authored by Berenger Bramas's avatar Berenger Bramas
Browse files

Forgot to let the original test :)

parent 56191869
Pipeline #101784 failed with stages
in 21 minutes and 59 seconds
......@@ -231,7 +231,9 @@ public:
const long double field_section_width_z = spatial_box_width[IDXC_Z]/(long double)(field_grid_dim[IDXC_Z]);
const long int limite = static_cast<long int>((field_section_width_z*(long double)(partition_interval_offset_per_proc[dest_proc+1])
- std::numeric_limits<long double>::epsilon())/cutoff_radius);
if(limite == nb_cell_levels[IDXC_Z]){
if(static_cast<long double>(limite)*cutoff_radius
== field_section_width_z*(long double)(partition_interval_offset_per_proc[dest_proc+1])
|| limite == nb_cell_levels[IDXC_Z]){
return limite-1;
}
return limite;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment