Ticket #286 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

tick-rate contract

Reported by: eamorse@… Owned by: jaymccarthy
Priority: trivial Milestone:
Component: jaymccarthy/gl-world.plt Keywords:
Cc: Version: (1 0)
Racket Version: 5.0.0.1

Description

The contract for the #:tick-rate parameter to big-bang says it takes a number? but it fails if I pass in 0.05, I have to convert to an exact number with (inexact->exact 0.05) for it to work.

The error message is:
start in timer%: expected argument of type <exact integer in [0, 1000000000]>; given 50.0

Change History

Changed 14 years ago by jaymccarthy

  • status changed from new to closed
  • resolution set to fixed

Fixed in 2.0

Note: See TracTickets for help on using tickets.