holgern / scikit-optimize

Sequential model-based optimization with a `scipy.optimize` interface
http://scikit-optimize.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

Typo in skopt/space/space.py #2

Closed rncogburn closed 7 months ago

rncogburn commented 7 months ago

scikit-optimize/skopt/space/space.py line 134

elif isinstance(low, numbers.Real) and isinstance(high, numbers.Real): 
              return Real(float(low), float(high), *args, tranform=transform)

should instead be

elif isinstance(low, numbers.Real) and isinstance(high, numbers.Real): 
              return Real(float(low), float(high), *args, transform=transform)