diff options
author | Marvin Borner | 2023-05-27 09:44:14 +0200 |
---|---|---|
committer | Marvin Borner | 2023-05-27 09:44:14 +0200 |
commit | 337ec809393b709b36ca7b64d77489ae4bc1af1c (patch) | |
tree | 4e6eb71eaa8e81c4b08b8d23938e1609ff5d91a6 /src/map.c | |
parent | ac039e6fcbdec3dc6c8e28013e1b3a20068c84ee (diff) |
More scheduling and probabilisticity
Diffstat (limited to 'src/map.c')
-rw-r--r-- | src/map.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -62,7 +62,9 @@ struct pqueue *map_to_pqueue(pqueue_cmp_pri_f cmppri, pqueue_get_pri_f getpri, void *iter_val; while (hashmap_iter(all_terms, &iter, &iter_val)) { struct term *term = *(struct term **)iter_val; - pqueue_insert(queue, term); + if (term->type == APP) { + pqueue_insert(queue, term); + } } return queue; |