#4206: [with patch, needs review] convert RDF and CDF vectors to use numpy
----------------------------+-----------------------------------------------
Reporter: jason | Owner: jason
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-3.2.1
Component: linear algebra | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Changes (by jason):
* owner: was => jason
* status: new => assigned
Comment:
To review this patch:
1. Start with sage-3.2
2. Apply the patch at #4570
3. Apply the following patch to /sage/local/lib/python2.5/site-
packages/Cython/Compiler/Buffer.py:
{{{
diff -r 04e83ffd8ea2 Cython/Compiler/Buffer.py
--- a/Cython/Compiler/Buffer.py Fri Nov 07 06:55:37 2008 +0100
+++ b/Cython/Compiler/Buffer.py Sun Nov 23 16:58:15 2008 +0100
@@ -710,7 +710,11 @@ def use_py2_buffer_functions(env):
# Search all types for __getbuffer__ overloads
types = []
+ visited_scopes = set()
def find_buffer_types(scope):
+ if scope in visited_scopes:
+ return
+ visited_scopes.add(scope)
for m in scope.cimported_modules:
find_buffer_types(m)
for e in scope.type_entries:
}}}
4. Of course, do sage -br
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4206#comment:17>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---