astrogo / fitsio

fitsio is a pure-Go package to read and write `FITS` files
BSD 3-Clause "New" or "Revised" License
54 stars 22 forks source link

view-fits: invalid argument #16

Closed raff closed 8 years ago

raff commented 8 years ago

With go 1.6.2 on Windows and tip of x/exp/shiny the call at https://github.com/astrogo/fitsio/blob/master/cmd/view-fits/main.go#L93 returns "invalid argument".

If I change it with, for example, "b, err := s.NewBuffer(image.Point{500,500})" everything works.

sbinet commented 8 years ago

thanks for the report and the fix.