def _force_mutable(x):
    if getattr(x, 'is_Matrix', False):
        return x.as_mutable()
    elif isinstance(x, Basic):
        return x
    elif hasattr(x, '__array__'):
        a = x.__array__()
        if len(a.shape) == 0:
            return sympify(a)
        return Matrix(x)
    return x
Run all pending timed calls.
dataset/ETHPy150Open sympy/sympy/sympy/matrices/dense.py/_force_mutable--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/base.py/ReactorBase.runUntilCurrent