chiark / gitweb /
routesearch: permit approxiation by disregarding trivial trades
[ypp-sc-tools.db-live.git] / yarrg / web / query_routesearch
index 6f051351ca2f981bf677f2bd2fa4394f78a81459..587a2b6dc9df0a47c1e8f55192a8f2d96123bb43 100644 (file)
@@ -131,6 +131,7 @@ foreach my $k (qw(MaxMass MaxVolume MaxCapital)) {
 }
 push @rsargs, defined $routeparams->{LossPerLeaguePct}
        ? $routeparams->{LossPerLeaguePct}*0.01 : 1e-9;
+push @rsargs, '0';
 push @rsargs, 'search',$maxdist, $maxcountea,$maxcountea, 'any', @islandids;
 
 m/[^-.0-9a-zA-Z]/ and die "$_ $& ?" foreach @rsargs;