Skip to content

Segmentation fault using opt bool in if #521

Description

@sbronson
var 0..1: x;
var bool: y = if x = 1 then true elseif false then <> else true endif = true;
$ minizinc -c f.mzn
MiniZinc error: Memory violation detected (segmentation fault).
This is a bug. Please file a bug report using the MiniZinc bug tracker.
Aborted

This happens on develop (30713e7). It works in 2.5.3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolvedIssue is resolved and the feature or fix will be part of next release

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions