From 3fd273d767145b0903baeaa30381132c4819181c Mon Sep 17 00:00:00 2001 From: Koen Derks Date: Wed, 20 Nov 2024 22:59:40 +0100 Subject: [PATCH] Update --- inst/qml/auditClassicalModelFairness.qml | 2 +- inst/qml/auditClassicalNumberBunching.qml | 2 +- inst/qml/common/selection/Seed.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inst/qml/auditClassicalModelFairness.qml b/inst/qml/auditClassicalModelFairness.qml index e8025eff..3a4440f7 100644 --- a/inst/qml/auditClassicalModelFairness.qml +++ b/inst/qml/auditClassicalModelFairness.qml @@ -304,7 +304,7 @@ Form { name: "seed" label: qsTr("Seed") - defaultValue: Math.floor(Math.random() * 1000); // Init with random integer in [1,...,999] + defaultValue: Math.floor(Math.random() * 1000) // Init with random integer in [1,...,999] min: -999 max: 999 info: qsTr("Selects the seed for the random number generator in order to reproduce results.") diff --git a/inst/qml/auditClassicalNumberBunching.qml b/inst/qml/auditClassicalNumberBunching.qml index 44eb1fef..77b8346d 100644 --- a/inst/qml/auditClassicalNumberBunching.qml +++ b/inst/qml/auditClassicalNumberBunching.qml @@ -219,7 +219,7 @@ Form { name: "seed" label: qsTr("Seed") - defaultValue: Math.floor(Math.random() * 1000); // Init with random integer in [1,...,999] + defaultValue: Math.floor(Math.random() * 1000) // Init with random integer in [1,...,999] min: -999 max: 999 info: qsTr("Selects the seed for the random number generator in order to reproduce results.") diff --git a/inst/qml/common/selection/Seed.qml b/inst/qml/common/selection/Seed.qml index 23af4c99..727aad17 100644 --- a/inst/qml/common/selection/Seed.qml +++ b/inst/qml/common/selection/Seed.qml @@ -29,7 +29,7 @@ IntegerField id: seed text: qsTr("Seed") name: "seed" - defaultValue: Math.floor(Math.random() * 1000); // Init with random integer in [1,...,999] + defaultValue: Math.floor(Math.random() * 1000) // Init with random integer in [1,...,999] min: -999 max: 999 enabled: enable