Commit 24b6a18
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 d796cb9 commit 24b6a18
1 file changed
Lines changed: 1 addition & 1 deletion
| 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