Skip to content

Commit c01ec3b

Browse files
Fix code mistakes
1 parent 9cc1a78 commit c01ec3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/expressions.lisp

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ constant values are mapped to `+constant+`."
6161

6262
; arithmetic
6363
((+)
64-
(sum-linear-expressions-list (mapcar 'parse-linear-expression (rest expr))))
64+
(apply 'sum-linear-expressions (mapcar 'parse-linear-expression (rest expr))))
6565

6666
((*)
6767
(let ((factors (mapcar #'parse-linear-expression (rest expr)))

Diff for: src/external-formats.lisp

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ boundaries are supported."
240240
(let* ((var (field 3 line :symbol))
241241
;; LB UB intp
242242
(attrs (gethash var var-info (list 0 nil nil)))
243-
(bound-type (field 1 line :name-string)))
243+
(bound-type (string-upcase (field 1 line :name-string))))
244244
(setf (gethash var var-info)
245245
(cond
246246
((string= bound-type "LO")

0 commit comments

Comments
 (0)