Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f658f1e4 authored by hhakim's avatar hhakim
Browse files

Fix bug in py wrapper display() occurring for complex Fausts.

parent cc6e1be1
Branches
Tags
No related merge requests found
...@@ -251,9 +251,12 @@ cdef class FaustCore: ...@@ -251,9 +251,12 @@ cdef class FaustCore:
# print information about the faust (size, number of factor, type of factor (dense/sparse) ...) # print information about the faust (size, number of factor, type of factor (dense/sparse) ...)
def display(self): def display(self):
self.core_faust_dbl.Display(); if(self._isReal):
self.core_faust_dbl.Display()
else:
self.core_faust_cplx.Display()
def nnz(self): def nnz(self):
cdef unsigned long long nnz = 0 cdef unsigned long long nnz = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment