Small fix in extract_features

Change Dtype* -> const DType*