Revision 57587760
ID | 575877608271984296b64af9c45ba503f0b97349 |
Parent | 934c62dc |
Child | bfefb674 |
Fix iallocator crash when no solutions exist
Commit 5436576 added an un-guarded `head' call, which crashes with
“Prelude.head: empty list” when no results exists for the per-instance
allocation/relocation calls.
This patch fixes this, and also adds another check for an unguarded
`head' call during parsing of input data.
(cherry picked from commit e41f4ba0ad09bcf3a696ab4eb7a1952e29f37d1f)
Files
- added
- modified
- copied
- renamed
- deleted