From 54314ba78f6d71762da2d500525e2f5d9e742ac8 Mon Sep 17 00:00:00 2001 From: Vitaly Bogdanov Date: Fri, 1 Nov 2024 10:47:48 +0300 Subject: [PATCH] Add additional info about rand usage rework in future --- lib/src/metta/runner/stdlib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/metta/runner/stdlib.rs b/lib/src/metta/runner/stdlib.rs index ec075f306..31ed06af1 100644 --- a/lib/src/metta/runner/stdlib.rs +++ b/lib/src/metta/runner/stdlib.rs @@ -1259,6 +1259,7 @@ impl CustomExecute for SubtractionAtomOp { // big. In future releases (0.9+) of rand signature of sample_single will be changed and it will be // possible to use match construction to cover overflow and other errors. So after library will be // upgraded RandomInt and RandomFloat codes should be altered. +// see comment https://github.com/trueagi-io/hyperon-experimental/pull/791#discussion_r1824355414 #[derive(Clone, Debug)] pub struct RandomIntOp {}