missing () on Mat::type()
Merge pull request #2484 from berak:mat_doc_24