Closed
Description
I tried installing the latest developer version of numpy today and am running into an error related to memory allocation when running polyfit
.
Reproducing code example:
>>> np.polyfit([1,2,3], [1.2, 3.3, 4.5], deg=1)
python(87909,0x7fffaed02380) malloc: *** mach_vm_map(size=18446744071717433344) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
init_dgelsd failed init
__main__:1: RankWarning: Polyfit may be poorly conditioned
array([5.50113414e-313, 1.34764833e-312])
Numpy/Python version information:
Platform: MacOS 10.13.6
Python:
Python 3.7.0 (default, Jun 28 2018, 07:39:16)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Numpy:
>>> np.__git_revision__
'2be154408c6a088a296da3cad274473ea7d03317'