Commit 45076128 authored by Topi Rasku's avatar Topi Rasku
Browse files

#80: Fixing a conditional with *empty* when determining *gnu*.

parent 645e02ee
...@@ -117,11 +117,12 @@ $offtext ...@@ -117,11 +117,12 @@ $offtext
* --- Generate Unit Related Sets ---------------------------------------------- * --- Generate Unit Related Sets ----------------------------------------------
// Set of all existing gnu // Set of all existing gnu
gnu(grid, node, unit)${ p_gnu(grid, node, unit, 'maxGen') gnu(grid, node, unit)${ not sameas(grid, 'empty')
or p_gnu(grid, node, unit, 'maxCons') and ( p_gnu(grid, node, unit, 'maxGen')
or p_gnu(grid, node, unit, 'unitSizeGen') or p_gnu(grid, node, unit, 'maxCons')
or p_gnu(grid, node, unit, 'unitSizeCons') or p_gnu(grid, node, unit, 'unitSizeGen')
and not grid('empty') or p_gnu(grid, node, unit, 'unitSizeCons')
)
} }
= yes; = yes;
// Reduce the grid dimension // Reduce the grid dimension
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment