diff options
| author | Jedidiah Barber <contact@jedbarber.id.au> | 2026-01-02 11:06:12 +1300 |
|---|---|---|
| committer | Jedidiah Barber <contact@jedbarber.id.au> | 2026-01-02 11:06:12 +1300 |
| commit | 8210373fe4e6560475e55c599dd22df28f48785d (patch) | |
| tree | 5f3d9bfae49947571a15d754f6b90361b5ec04a9 /src | |
| parent | 507c8dd51706fe5750791967fb726cafc5eca1b3 (diff) | |
Fixed minor Math issues that didn't error until instantiation
Diffstat (limited to 'src')
| -rw-r--r-- | src/kompsos-math.adb | 2 | ||||
| -rw-r--r-- | src/kompsos-math.ads | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/kompsos-math.adb b/src/kompsos-math.adb index 2c2ddf8..d910fef 100644 --- a/src/kompsos-math.adb +++ b/src/kompsos-math.adb @@ -163,7 +163,7 @@ package body Kompsos.Math is Result : Goal := This; Ref_Term : constant Term := Result.Fresh; begin - Result.Tail (Num_Term & Ref_Term); + Result.Tail (Term (Num_Term) & Ref_Term); Result.Pair (Ref_Term); return Result; end GT_One; diff --git a/src/kompsos-math.ads b/src/kompsos-math.ads index 49f5f8f..adf48d2 100644 --- a/src/kompsos-math.ads +++ b/src/kompsos-math.ads @@ -355,8 +355,8 @@ package Kompsos.Math is private - Zero_Term : constant Term := Build (0); - One_Term : constant Term := Build (1); + Zero_Term : constant Term := Empty_Term; + One_Term : constant Term := T (T (One_Element), Empty_Term); |
