|
From: Daniel W. <dan...@ni...> - 2007-05-21 14:34:12
|
I just fixed the problem below and made a new release. Please take a
look and check that it works.
If I don't hear any complaints, I'll put together the window binaries
and Jon will do the dmg in the next few weeks.
On May 4, 2007, at 8:33 PM, Dominique Orban wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Daniel Wheeler wrote:
>> On May 4, 2007, at 6:46 PM, Dominique Orban wrote:
>>
>>>
>>> The bug is in spmatrix_api.h, in the "import_spmatrix" macro. I
>>> believe the first line should read
>>>
>>> PyObject *spmatrix = PyImport_ImportModule("pysparse.spmatrix");
>>>
>>> instead of
>>>
>>> PyObject *spmatrix = PyImport_ImportModule("spmatrix");
>>
>> Thanks for the bug report. Are there any other places with similar
>> problems?
>
> Not that I have noticed. Since I sent the bug report, I observed
> that the above also affected
> PySparse itself. For instance, the statement
>
> from pysparse import spmatrix, itsolvers, precon
It was broken for me too, but now it seems to be working. Weird. Jon,
Is this something that you repaired?
>
> caused the error message "no module named spmatrix". I presume the
> error was coming from itsolvers
> and/or precon.
--
Daniel Wheeler
|