Skip to content
Snippets Groups Projects
Commit 57587760 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix iallocator crash when no solutions exist

Commit 54365762 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 e41f4ba0)
parent 934c62dc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment