Error in 18.1s

Runtime

Time bar (total: 18.1s)Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed 2018274 +o rules:numerics
(FPCore (a b c)
  :name "jeff quadratic root 2"
  (if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))))

Backtrace

type-of: broke its own contract promised: (or/c (quote boolean) (quote complex) (quote real)) produced: 'bool in: the range of (-> Any any/c (or/c 'boolean 'complex 'real)) contract from: (interface for type-of) blaming: (interface for type-of) (assuming the contract is correct) at: /data/pavpan/nightlies/herbie/typed-racket/src/core/regimes.rkt:49.2LC
raise-blame-error16/home/p92/racket/collects/racket/contract/private/blame.rkt3470
(unnamed)/data/pavpan/nightlies/herbie/typed-racket/src/core/regimes.rkt1383
loop/home/p92/racket/collects/racket/private/list.rkt2644
infer-splitpoints/data/pavpan/nightlies/herbie/typed-racket/src/core/regimes.rkt1060
get-final-combination/data/pavpan/nightlies/herbie/typed-racket/src/mainloop.rkt3100
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128
run/home/p92/racket/share/pkgs/profile-lib/main.rkt392
profile-thunk16/home/p92/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128