repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Track ATG status on a per connector basis.
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
Utils.ts
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index 92373cf043ba2161426ae6066c3376ef53097af4..b04814a7a6437dd6a369b81b5998458f652e3465 100644
(file)
--- a/
src/utils/Utils.ts
+++ b/
src/utils/Utils.ts
@@
-108,7
+108,7
@@
export default class Utils {
return sign * (randomPositiveFloat * (max - min) + min);
}
- public static getRandomInt(max: number, min = 0): number {
+ public static getRandomInt
eger
(max: number, min = 0): number {
if (max < 0) {
throw new RangeError('Invalid interval');
}