<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Uwe Schmitt schrieb:</tt>
<blockquote cite="mid:491D6AD3.3070202@mineway.de" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <tt>Uwe Schmitt schrieb:</tt>
  <blockquote cite="mid:491D3D67.30105@mineway.de" type="cite">
    <meta content="text/html;charset=ISO-8859-1"
 http-equiv="Content-Type">
    <tt></tt><tt><br>
Good news: the problem disappeared after upgrading to Cython 0.10,<br>
    </tt></blockquote>
  <tt><br>
  </tt><tt>Bad news: the error occured again, I do not know what
happens..<br>
  <br>
I'm using&nbsp; "print SVDVersion"<br>
and "print SVDVerbosity" which are translated as follows:<br>
  <br>
  </tt></blockquote>
<tt>I depends on the usage ov SVDVerbosity: If I just read the variable
I get:<br>
<br>
</tt>
<blockquote><tt>&nbsp;/*
"C:\cygwin\home\uschmitt\workspace_eclipse_ganymede\PySVDLIB\src\svdlibc.pyx":157</tt><br>
  <tt>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; cdef SMat As</tt><br>
  <tt>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; #SVDVerbosity = 0</tt><br>
  <tt>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; print SVDVerbosity&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #
&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</tt><br>
  <tt>&nbsp;* </tt><br>
  <tt>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; if isinstance(A, scipy.sparse.spmatrix):</tt><br>
  <tt>&nbsp;*/</tt><br>
  <tt>&nbsp; __pyx_1 = PyInt_FromLong(SVDVerbosity); if (unlikely(!__pyx_1))
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno =
__LINE__; goto __pyx_L1_error;}</tt><br>
  <tt>&nbsp; __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2))
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno =
__LINE__; goto __pyx_L1_error;}</tt><br>
  <tt>&nbsp; PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);</tt><br>
  <tt>&nbsp; __pyx_1 = 0;</tt><br>
  <tt>&nbsp; if (__Pyx_Print(((PyObject *)__pyx_2), 1) &lt; 0)
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno =
__LINE__; goto __pyx_L1_error;}</tt><br>
  <tt>&nbsp; Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;</tt><br>
</blockquote>
<tt>As soon as I add one line setting SVDVerbosity, I get:<br>
<br>
</tt>
<blockquote><tt>&nbsp;/*
"C:\cygwin\home\uschmitt\workspace_eclipse_ganymede\PySVDLIB\src\svdlibc.pyx":158</tt><br>
  <tt>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; cdef SMat As</tt><br>
  <tt>&nbsp;* </tt><br>
  <tt>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; SVDVerbosity = 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #
&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</tt><br>
  <tt>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; print SVDVerbosity</tt><br>
  <tt>&nbsp;* </tt><br>
  <tt>&nbsp;*/</tt><br>
  <tt>&nbsp; Py_INCREF(__pyx_int_0);</tt><br>
  <tt>&nbsp; Py_DECREF(__pyx_v_SVDVerbosity);</tt><br>
  <tt>&nbsp; __pyx_v_SVDVerbosity = __pyx_int_0;</tt><br>
  <br>
  <tt>&nbsp; /*
"C:\cygwin\home\uschmitt\workspace_eclipse_ganymede\PySVDLIB\src\svdlibc.pyx":159</tt><br>
  <tt>&nbsp;* </tt><br>
  <tt>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; SVDVerbosity = 0</tt><br>
  <tt>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp; print SVDVerbosity&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #
&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</tt><br>
  <tt>&nbsp;* </tt><br>
  <tt>&nbsp;* </tt><br>
  <tt>&nbsp;*/</tt><br>
  <tt>&nbsp; __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1))
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno =
__LINE__; goto __pyx_L1_error;}</tt><br>
  <tt>&nbsp; Py_INCREF(__pyx_v_SVDVerbosity);</tt><br>
  <tt>&nbsp; PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_SVDVerbosity);</tt><br>
  <tt>&nbsp; if (__Pyx_Print(((PyObject *)__pyx_1), 1) &lt; 0)
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno =
__LINE__; goto __pyx_L1_error;}</tt><br>
  <tt>&nbsp; Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;</tt><br>
</blockquote>
<tt>Greetings, Uwe<br>
<br>
</tt><tt>PS: Thanks for developing Cython, it is a great tool !<br>
<br>
</tt>
<pre class="moz-signature" cols="72"><tt>-- 
Dr. rer. nat. Uwe Schmitt
F&amp;E Mathematik
 
mineway GmbH
Science Park 2
D-66123 Saarbr&uuml;cken
 
Telefon: +49 (0)681 8390 5334
Telefax: +49 (0)681 830 4376
 
<a class="moz-txt-link-abbreviated" href="mailto:uschmitt@mineway.de">uschmitt@mineway.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.mineway.de">www.mineway.de</a>
 
Gesch&auml;ftsf&uuml;hrung: Dr.-Ing. Mathias Bauer
Amtsgericht Saarbr&uuml;cken HRB 12339

</tt></pre>
</body>
</html>