On 03/21, Yann Orlarey wrote:
>
> Interestingly:
>
> process = 0,0,0 : +;
>
> crashes, while:
>
> process = _,0,0 : +;
>
> correctly reports a sequential composition error.

I don't really understand this code, but it seems that the isNumericalTuple()
simplification in realeval() is not right. At least the "patch" below seems
to fix a problem.

Oleg.

--- a/compiler/evaluate/eval.cpp
+++ b/compiler/evaluate/eval.cpp
@@ -345,7 +345,7 @@ static Tree realeval (Tree exp, Tree visited, Tree 
localValEnv)
         xtended* xxt = (xtended*) getUserData(a2);
         siglist lsig;
         // try a numerical simplification of expressions of type 2,3:+
-        if (isNumericalTuple(a1,lsig) && (xxt || isBoxWire(a2) || 
isBoxPrim1(a2) || isBoxPrim2(a2))) {
+        if (0&&isNumericalTuple(a1,lsig) && (xxt || isBoxWire(a2) || 
isBoxPrim1(a2) || isBoxPrim2(a2))) {
             Tree lres = boxPropagateSig(gGlobal->nil, a2, lsig);
             if ( isList(lres) && isNil(tl(lres)) ) {
                 Tree r = simplify(hd(lres));


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to