Skip to content

Commit

Permalink
Fix warning message to show true fidelity threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
notmgsk authored and stylewarning committed Sep 18, 2019
1 parent 75abd79 commit 0b314e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chip-reader.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
(warn "Chip specification contains a fidelity field populated by the Forest error sentinel. Replacing it with the default ~a." +totally-awful-fidelity+)
+totally-awful-fidelity+)
((> fidelity +near-perfect-fidelity+)
(warn "Chip specification contained fidelity ~a > 1. Truncating to ~a." fidelity +near-perfect-fidelity+)
(warn "Chip specification contained fidelity ~a > ~a~:*. Truncating to ~a." fidelity +near-perfect-fidelity+)
+near-perfect-fidelity+)
((minusp fidelity)
(error "Chip specification contained negative fidelity ~a. I don't know what to do with this value." fidelity))
Expand Down

0 comments on commit 0b314e5

Please sign in to comment.