File "E:/debug/test.py", line 51, in demand2
od[i] = _od1 + diff * (_od1 - rowFT[icol]) * convf #$2356
IndexError: index 4 is out of bounds for axis 0 with size 4
The problem with numba is that when we try to access a non-existent value in an array, it just gives a junk value like 1e-313 etc.
There is a possible bug in 'demand' function in hrchhyd.py. Try running 'demand' function without jit with following input
and it will throw the error
The problem with numba is that when we try to access a non-existent value in an array, it just gives a junk value like 1e-313 etc.