Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make evaluate preserve vector immutability (emina#244)
Prior to this patch, the following returned an immutable vector: (define empty-model (solve (void))) (evaluate (vector-immutable 1) empty-model) However, the following returned a _mutable_ vector, even though `evaluate` is given an immutable vector (containing no symbolics): (define-symbolic* b boolean?) (define model (solve (assert b))) (evaluate (vector-immutable 1) model) With this patch, both examples above return an immutable vector.
- Loading branch information