Codegen: using CSE and lists of Equations now works
Codegen: using CSE and lists of Equations now works

For example now this snippet generates the correct code

    a = sm.MatrixSymbol('a', 3, 1)
    out1 = sm.MatrixSymbol('out1', 3, 1)
    out2 = sm.MatrixSymbol('out2', 3, 1)
    eq1 = sm.Eq(out1, sm.Matrix([a[0],a[0]*a[1],a[0]*a[1]*a[2]]))
    eq2 = sm.Eq(out2, sm.Matrix([a[1]*a[2],a[1]*a[1],a[2]*a[2]*a[2]*a[1]*a[0]]))
    eq = [eq1, eq2]
    r = generator.routine('a', eq, argument_sequence=(a, out1, out2))

kaushik94/sympy,kaushik94/sympy,kaushik94/sympy