cvnlab / nsdcode

Code related to analyzing the Natural Scenes Dataset
BSD 2-Clause "Simplified" License
30 stars 8 forks source link

zerodiv mis-port bug #19

Closed kendrickkay closed 2 years ago

kendrickkay commented 2 years ago
image

There is a bug in the Python port of zerodiv. This shows up in utils.py in nsdcode repo, and possibly also in the GLMsingle repo? I've highlighted the offending lines.

The bug is just a parentheses type issue. It causes a crash in Python.

@iancharest - can you please fix this in all places where it occurs as soon as possible? nsd_mapdata relies on zerodiv and it's stalling some progress

kendrickkay commented 2 years ago

Please also think about if there could be any other instances of this type of thing.