if (idx >= 0)
model_print(" Rf: P%-2d", idx);
else
- model_print(" RF: P? ");
+ model_print(" Rf: P? ");
} else
model_print(" Rf: ? ");
}
hash ^= seq_number << 5;
hash ^= id_to_int(tid) << 6;
- if (is_read() && reads_from)
- hash ^= reads_from->get_seq_number();
+ if (is_read()) {
+ if (reads_from)
+ hash ^= reads_from->get_seq_number();
+ else if (reads_from_promise)
+ hash ^= model->get_promise_number(reads_from_promise);
+ hash ^= get_reads_from_value();
+ }
return hash;
}