You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* requires Clang >=18 (libc++) and GCC >=14 (stdlibc++)
* bumped boost/ut to v2.3.1 (latest as of 2023-04-02)
* bumped vir-simd to v0.4.4 (latest as of 2025-05-10, thanks to @mattkretz)
* fixed stricter formatting and consteval-related rule issues
* updated docker image to Ubuntu 25.04 (valid for 9 month)
* added gcc-15 and clang-20 dependencies
* disabled/removed `-lto` flags due to LLVM/mold bug (not yet deployed: https://github.com/rui314/mold/releases/tag/v2.39.1)
Signed-off-by: Ralph J. Steinhagen <[email protected]>
Signed-off-by: rstein <[email protected]>
Signed-off-by: Ralph J. Steinhagen <[email protected]>
throwstd::invalid_argument(fmt::format("{} not defined for non-positive value {} in [{}, {}].", gr::meta::type_name<LogAxisTransform>(), value, axisMin, axisMax));
79
+
throwstd::invalid_argument(std::format("{} not defined for non-positive value {} in [{}, {}].", gr::meta::type_name<LogAxisTransform>(), value, axisMin, axisMax));
80
80
}
81
81
82
82
const T log_min = std::log10(axisMin);
@@ -87,7 +87,7 @@ struct LogAxisTransform {
87
87
template<std::floating_point T>
88
88
[[nodiscard]] staticconstexpr T fromScreen(std::size_t screenCoordinate, T axisMin, T axisMax, std::size_t screenOffset, std::size_t screenSize) {
89
89
if (axisMin <= 0UZ || axisMax <= axisMin) {
90
-
throwstd::invalid_argument(fmt::format("{} not defined for non-positive ranges [{}, {}].", gr::meta::type_name<LogAxisTransform>(), axisMin, axisMax));
90
+
throwstd::invalid_argument(std::format("{} not defined for non-positive ranges [{}, {}].", gr::meta::type_name<LogAxisTransform>(), axisMin, axisMax));
91
91
}
92
92
93
93
const T proportion = static_cast<T>(screenCoordinate - screenOffset) / (static_cast<T>(screenSize - screenOffset - 1UZ)); // convert screen coordinates back to a proportion of the axis
if (std::ranges::any_of(ds.extents, [](std::int32_t e) { return e <= 0; })) {
191
-
returnhandleFailure("found 0 or negative extend values [{}]", fmt::join(ds.extents, ", "));
191
+
if (std::ranges::any_of(ds.extents, [](std::int32_t e) { return e <= 0; })) { // clang-20 bug workaround "immediate function 'operator()<const std::string &>' used before it is defined"
192
+
// return std::unexpected(gr::Error(std::format("Mismatch in DataSet<{}>-\"{}\": found bad extents [{}]\n", gr::meta::type_name<T>(), dsName, gr::join(ds.extents, ", ")), location));
193
+
returnhandleFailure("found 0 or negative extent values [{}]", gr::join(ds.extents));
0 commit comments