text: Title: Unintuitive deduction of dimension type 
  Body: ```python
  optimizer = Optimizer([(0, 1.124124)], base_estimator, n_random_starts=5)
  ```
  
  to me it is wrong that this would create an `Integer` dimension. We should check if both or any of the limits is a float and then create a `Continous` dimension.