Hello,

I noticed there are bugs in these functions (qwt_scale_div.cpp) in Qwt SVN:

QwtScaleDiv::setTicks():
if ( type >= 0 || type < NTickTypes )
should be
if ( type >= 0 && type < NTickTypes )

QwtScaleDiv::ticks():
same here.

Cheers and thanks for the awesome library!
Alexander