> Line 3915 looks like :
>
> static CYTHON_INLINE float __Pyx_c_absf(__pyx_t_float_complex z) {
> #if HAVE_HYPOT
> return hypotf(z.real, z.imag);
> #else
> return sqrtf(z.real*z.real + z.imag*z.imag);
> #endif
> }
>
> and 4035 is basically the same
>
> I'm not totally sure what this means. Anyone have any ideas?
it probably means that HAVE_HYPOT is defined, but has no value. i.e. the
exact same error as mine, but perhaps generated differently by Cython.
I can't tell from that ugly dev version number how recent it is, but I'd
get the latest and give it a try -- it has been fixed for me in the dev
version I got this afternoon.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Darn.
Let's see what Lisandro says -- I'm out of my depth!
I just looked in Cython 0.14, and Cython-devel, which I jsut got from here:
it actually looks two weeks old.
I greped it, and the only place I see "HAVE_HYPOT" is in:
Cython/Compiler/PyrexTypes.py, and it has been fixed there:
#if !defined(HAVE_HYPOT) || defined(_MSC_VER)
Are you sure you actually running the dev version when you compile your
pyx files?
We recently switched over to using git (hosted on github). I haven't
yet set up a cron job to update the hg repositories, but at the very
least I should change the link on the main page, which I'll do now.
- Robert
that explains the two weeks -- but the issue was fixed then, so I think
the OP is still running an older one - unless it has re-surfaced.
> but at the very
> least I should change the link on the main page, which I'll do now.
yup -- I thought I remembered git, then saw that nifty Hg page.
Does github provide a simple one click download of the devel version as
a zip or tarball? That was very nice to find with the Hg page. I really
didn't want the whole repository, figure out how to install/use git on
Windows, etc.
This should be fine at the tip:
https://github.com/cython/cython/blob/master/Cython/Compiler/PyrexTypes.py#L1386
>> but at the very
>> least I should change the link on the main page, which I'll do now.
>
> yup -- I thought I remembered git, then saw that nifty Hg page.
>
> Does github provide a simple one click download of the devel version as a
> zip or tarball? That was very nice to find with the Hg page. I really didn't
> want the whole repository, figure out how to install/use git on Windows,
> etc.
Looks like clicking on the "downloads" button at
https://github.com/cython/cython will give it to you.
- Robert
Great.
> As a side note, if Git is the correct repository, is there a reason the hg
> branch is still active and not otherwise marked as defunct?
I've removed the link to it, but do intend to keep it up as a
read-only repository for a while at least.
- Robert