Segfault in LTC theory transformations when invalid input is presented
Issue #906
new
Comments (4)
-
-
-
Note to developers:
In LTC theory transformations, there is a check that the theory does not contain any functions mapping to Time other than Start and Next. In the given theory, the problematic function "+" is actually a theory to "int" instead of Time, hence escaping the check. This should be fixed.
-
Zie ook #907
- Log in to comment
Should of course not segfault.
But... In an ltc theory, you are supposed to use Next(t), not "t+1". Replacing this as it is supposed to be fixes your issue
http://dtai.cs.kuleuven.be/krr/idp-ide/?src=115f958aba495ddc408d
(sanity check: your LTC theory should still be parsable if you remove the "isa int" from the type time declaration)
Still, segfault remains open issue.