Should I go and fix this? > > simpfunc = simplify or _simplify > > with the function definition as > > def rref(self, iszerofunc=_iszero, simplify=None, pivots=True, > normalize_last=True): > > The isinstance(simplify, FunctionType) type check is not necessary. > > This was silly! Actually I don't think I have seen such syntax before, so this happened, and also I didn't know what to google in this case. I tried to google, but got other awful stuff :(
> > why simplify is imported as _simplify as well as nsimplify? I mean what > is the need of both? > > The simplify() function is imported as _simplify because otherwise it > would not be accessible in rref(), because the name "simplify" is > already used by the keyword argument. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/da579ebd-bfd5-4c83-ad22-1fd6de7249ed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
