chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix up so hold status report still works if no capacity limit
[ypp-sc-tools.main.git]
/
yarrg
/
web
/
routetrade
diff --git
a/yarrg/web/routetrade
b/yarrg/web/routetrade
index 4be17c6e1a791a2ae952191137dfe22b561adf6a..ee1141a3965c73d2672c81ff9c93cd3f4bb0bb00 100644
(file)
--- a/
yarrg/web/routetrade
+++ b/
yarrg/web/routetrade
@@
-462,7
+462,7
@@
foreach my $ci (0..($#islandids-1)) {
my $applylimit= sub {
my ($mv, $max, $f2val) = @_;
-
return
unless defined $max;
+
$max= 1e9
unless defined $max;
#print " DEFINED MAX $mv $max ";
$cplex .= "
". sprintf("%-10s","${mv}_$ci:")." ".