Mentions légales du service

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

Fix typo bug in pyrex code (is_mat_constraint()).

parent db6cbeda
Branches
Tags
No related merge requests found
......@@ -974,7 +974,7 @@ cdef class FaustFact:
PyMem_Malloc(sizeof(PyxConstraintScalar[double]))
(<PyxConstraintScalar[double]*>cpp_constraints[i]).parameter =\
cons._cons_value
elif(cons._is_mat_constraint()):
elif(cons.is_mat_constraint()):
#print("FaustFact.fact_palm4MSA() Matrix Constraint")
if(isReal):
cpp_constraints[i] = <PyxConstraintMat[double]*> \
......@@ -1166,7 +1166,7 @@ cdef class FaustFact:
PyMem_Malloc(sizeof(PyxConstraintScalar[double]))
(<PyxConstraintScalar[double]*>cpp_constraints[i]).parameter =\
cons._cons_value
elif(cons._is_mat_constraint()):
elif(cons.is_mat_constraint()):
#print("FaustFact.fact_hierarchical() Matrix Constraint")
cpp_constraints[i] = <PyxConstraintMat[double]*> \
PyMem_Malloc(sizeof(PyxConstraintMat[double]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment