Skip to content

Commit 44d29c8

Browse files
committed
Do not shadow parameter "f"
Rename container elements to "pos" and "neg."
1 parent 089721e commit 44d29c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/solvers/refinement/string_constraint_generator_float.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,10 @@ std::pair<exprt, string_constraintst> add_axioms_from_float_scientific_notation(
422422
int_type);
423423
array_exprt conversion_factor_table(
424424
array_typet(float_type, conversion_factor_table_size));
425-
for(const auto &f : two_power_e_over_ten_power_d_table_negatives)
426-
conversion_factor_table.copy_to_operands(constant_float(f, float_spec));
427-
for(const auto &f : two_power_e_over_ten_power_d_table)
428-
conversion_factor_table.copy_to_operands(constant_float(f, float_spec));
425+
for(const auto &neg : two_power_e_over_ten_power_d_table_negatives)
426+
conversion_factor_table.copy_to_operands(constant_float(neg, float_spec));
427+
for(const auto &pos : two_power_e_over_ten_power_d_table)
428+
conversion_factor_table.copy_to_operands(constant_float(pos, float_spec));
429429

430430
// The index in the table, corresponding to exponent e is e+128
431431
plus_exprt shifted_index(bin_exponent, from_integer(128, int_type));

0 commit comments

Comments
 (0)