sdiehl / numpile

A tiny 1000 line LLVM-based numeric specializer for scientific Python code.
http://dev.stephendiehl.com/numpile/
MIT License
404 stars 52 forks source link

Undefined name InfiniteType #10

Open cdeil opened 5 years ago

cdeil commented 5 years ago

InfiniteType doesn't exist:

https://github.com/sdiehl/numpile/blob/73c0dad97ebce73c0c370b890d8188cffc3b43d4/numpile.py#L370

@sdiehl - Should this be change to raise TypeError? Or something else?

sdiehl commented 5 years ago

Yes, it should be a custom instance of Exception.