Issue893

Title Wrong type of Proposition struct member in relaxation heuristic
Priority bug Status resolved
Superseder Nosy List gnad, malte
Assigned To Keywords
Optional summary

Created on 2019-02-19.11:41:00 by gnad, last changed by malte.

Messages
msg8533 (view) Author: malte Date: 2019-02-19.12:26:22
Thanks for the bug report, much appreciated! I pushed a fix.

It would be nice if these types could be properly checked by the type system
rather than essentially being documentation, but that's a big hassle in C++.

> no idea where to put this. I made it a bug mostly because I think it
> can be resolved very quickly, so will not linger around for long.

Opening this as a bug on the tracker is perfect.
msg8532 (view) Author: gnad Date: 2019-02-19.11:41:00
Hi guys,
no idea where to put this. I made it a bug mostly because I think it can be
resolved very quickly, so will not linger around for long. So here we go:
The "reached_by" member of the Proposition struct in relaxation_heuristic.h
should have type OpID, but in fact is a PropID. Since both are ints, nothing bad
happens; it just confused me somewhat.
Cheers
Daniel
History
Date User Action Args
2019-02-19 12:26:22maltesetstatus: unread -> resolved
nosy: + malte
messages: + msg8533
2019-02-19 11:41:00gnadcreate