Re: [sympy] What "count_ops()" means?

2014-04-10 Thread SAHIL SHEKHAWAT
Can you please restart the travis test https://travis-ci.org/sympy/sympy/builds/22709118 ,It took more than 50minutes and errored. thanks On Friday, April 11, 2014 6:41:10 AM UTC+5:30, SAHIL SHEKHAWAT wrote: > > I have tried to do the same by taking "Boolean" in account and handling > them sepa

Re: [sympy] What "count_ops()" means?

2014-04-10 Thread SAHIL SHEKHAWAT
I have tried to do the same by taking "Boolean" in account and handling them separately and all the other expressions separately.. https://github.com/sympy/sympy/pull/7303 as boolean are counted when there is more than one argument but for basic number of arguments are its children. On Friday

Re: [sympy] What "count_ops()" means?

2014-04-10 Thread Aaron Meurer
My problem with count_ops is that it claims to count the operations, but it doesn't make it clear what an "operation" is. I would assume it meant a node in the expression tree with children, but it does some weird stuff with NEG and DIV, and until your PR, ignores all expressions except for the com

[sympy] What "count_ops()" means?

2014-04-10 Thread SAHIL SHEKHAWAT
Hey everyone, I have been working with *count_ops()* so that logic functions can also be counted as an operation but there has been a bit of confusion about its real meaning. See my PR https://github.com/sympy/sympy/pull/7303 Firstly, I don't want to count *"Basic(x)"* as an operation as all the