@@ -119,7 +119,6 @@ namespace WorldBuilder
119119 if (depth <= max_depth_local && depth >= min_depth_local)
120120 {
121121 const double min_depth_local_local = std::max (feature_min_depth, min_depth_local);
122- const double max_depth_local_local = std::min (feature_max_depth, max_depth_local);
123122
124123 double top_temperature_local = top_temperature;
125124
@@ -138,10 +137,13 @@ namespace WorldBuilder
138137 << " , based on a temperature model with the name " << this ->name );
139138 WBAssert (std::isfinite (new_temperature), " Temperature is not a finite: " << new_temperature
140139 << " , based on a temperature model with the name " << this ->name
141- << " , top_temperature_local = " << top_temperature_local << " , depth = " << depth << " , min_depth_local = " << min_depth_local
142- << " , top_heat_flux = " << top_heat_flux << " , thermal_conductivity=" << thermal_conductivity
143- << " ,max_depth_local_local=" << max_depth_local_local << " , min_depth_local_local =" << min_depth_local_local
144- << " , feature_max_depth = " << feature_max_depth << " , feature_max_depth = " << feature_max_depth);
140+ << " , top_temperature_local = " << top_temperature_local
141+ << " , depth = " << depth << " , min_depth_local = " << min_depth_local
142+ << " , top_heat_flux = " << top_heat_flux
143+ << " , thermal_conductivity=" << thermal_conductivity
144+ << " , min_depth_local_local =" << min_depth_local_local
145+ << " , feature_max_depth = " << feature_max_depth
146+ << " , feature_max_depth = " << feature_max_depth);
145147
146148 return apply_operation (operation,temperature_,new_temperature);
147149 }
0 commit comments