Commit 6549049
committed
math_opt: Fix derived_data_test on macOS
trace:
```
[ RUN ] FormatAttrValueTest.FormatsDouble
/Users/runner/work/or-tools/or-tools/ortools/math_opt/elemental/derived_data_test.cc:168: Failure
Expected equality of these values:
FormatAttrValue(4.2)
Which is: "4.2000000000000002"
"4.2"
Stack trace:
0x10b8bf8f4: operations_research::math_opt::(anonymous namespace)::FormatAttrValueTest_FormatsDouble_Test::TestBody()
0x10c7fa88b: testing::internal::HandleExceptionsInMethodIfSupported<>()
0x10c7fa7b2: testing::Test::Run()
0x10c7fb8e0: testing::TestInfo::Run()
... Google Test internal frames ...
[ FAILED ] FormatAttrValueTest.FormatsDouble (0 ms)
```
ref: https://github.com/google/or-tools/actions/runs/14709142545/job/412767917321 parent 3a9137d commit 6549049
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
0 commit comments