Skip to content

Commit

Permalink
Merge pull request #6 from ober/add-lw-allegro-support
Browse files Browse the repository at this point in the history
Add allegro and Lispworks support
  • Loading branch information
deadtrickster committed Oct 6, 2019
2 parents 884d151 + f139d3a commit a41bae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prometheus/metrics/histogram.lisp
Expand Up @@ -31,7 +31,7 @@
(unless (equalp (sort (copy-seq buckets) #'<) buckets)
(error 'invalid-buckets-error :value buckets :reason "bounds not sorted"))

(let ((with+inf (make-array (1+ (length buckets)) :element-type 'number :initial-element #+sbcl sb-ext:double-float-positive-infinity #+(and ecl ieee-floating-point) EXT:DOUBLE-FLOAT-POSITIVE-INFINITY)))
(let ((with+inf (make-array (1+ (length buckets)) :element-type 'number :initial-element #+allegro excl::*infinity-double* #+lispworks #.(read-from-string "10E999") #+sbcl sb-ext:double-float-positive-infinity #+(and ecl ieee-floating-point) EXT:DOUBLE-FLOAT-POSITIVE-INFINITY)))
(replace with+inf buckets)
with+inf))

Expand Down

0 comments on commit a41bae9

Please sign in to comment.