Ask Your Question

Revision history [back]

It's a bug. When I add sage.misc.cachefunc.CachedFunction to this line in matrix/constructor.py it works fine:

if isinstance(args[0], (types.FunctionType, types.LambdaType, types.MethodType)):

(after change of CachedFunction to cached_function there is a ValueError)

It's a bug. When I add sage.misc.cachefunc.CachedFunction to this line in matrix/constructor.py it works fine:

if isinstance(args[0], (types.FunctionType, types.LambdaType, types.MethodType)):

(after change of CachedFunction to cached_function there is a ValueError)

It's a bug. When I add sage.misc.cachefunc.CachedFunction to this line in matrix/constructor.py it works fine:

if isinstance(args[0], (types.FunctionType, types.LambdaType, types.MethodType)):

I have submitted the fix for review: http://trac.sagemath.org/ticket/18713