cvangysel / pytrec_eval

pytrec_eval is an Information Retrieval evaluation tool for Python, based on the popular trec_eval.
http://ilps.science.uva.nl/
MIT License
290 stars 32 forks source link

Fix for clang 11 (OS X 10.15) #23

Closed bpiwowar closed 4 years ago

bpiwowar commented 4 years ago

The compiler (clang 11) was complaining

src/pytrec_eval.cpp:816:42: error: expected expression
                default_meas_params[i] = {

This hint helps the compiler and removes the error.

cvangysel commented 4 years ago

I believe this PR is no longer relevant since #27 was merged?

bpiwowar commented 4 years ago

yes, closing