Bugfix: Correct normalisation
This commit is contained in:
parent
06325a80bf
commit
46d2af6124
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ function normalise_gateway_distance(distance) {
|
||||||
function unnormalise_gateway_distance(ndistance) {
|
function unnormalise_gateway_distance(ndistance) {
|
||||||
return normalise(ndistance,
|
return normalise(ndistance,
|
||||||
{ min: 0, max: 1 },
|
{ min: 0, max: 1 },
|
||||||
{ min: 0, max: 20000 }
|
{ min: 0, max: 75000 }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue