From f8fbf83023ad218075d5cbbec5f63fe824bcfee8 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 7 Aug 2025 13:56:48 +0200 Subject: Scalar refers to the dimensionsless Tensor while it doesn't fit the typeless one --- modules/codec-unit/c++/unit_schema.hpp | 2 +- modules/codec-unit/tests/codec-unit.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/codec-unit/c++/unit_schema.hpp b/modules/codec-unit/c++/unit_schema.hpp index 9ad173f..5de8770 100644 --- a/modules/codec-unit/c++/unit_schema.hpp +++ b/modules/codec-unit/c++/unit_schema.hpp @@ -11,6 +11,6 @@ template struct Unit {}; template -using Scalar = Unit; +using Pure = Unit; } } diff --git a/modules/codec-unit/tests/codec-unit.cpp b/modules/codec-unit/tests/codec-unit.cpp index 6ffc4fc..1321316 100644 --- a/modules/codec-unit/tests/codec-unit.cpp +++ b/modules/codec-unit/tests/codec-unit.cpp @@ -59,7 +59,7 @@ SAW_TEST("Codec Unit/Division"){ auto c = a / b; - SAW_EXPECT(c == data>{5u}, "Expected result 5"); + SAW_EXPECT(c == data>{5u}, "Expected result 5"); } SAW_TEST("Codec Unit/Print"){ -- cgit v1.2.3