• Jeremiah Lowin's avatar
    Add case where 'axis' is a numpy scalar array · 8c8ee26e
    Jeremiah Lowin 提交于
    If the 'axis' variable is a numpy scalar array (like numpy.array(1)), these conditional branches will fail as it tries to build a set over the non-iterable array. I've added another branch to handle this case.
    8c8ee26e
elemwise.py 80.8 KB