def precision_products(Q=Q, p=pattern_products): return cholmod.precision_to_products(Q, **p)
def precision_products(Q=Q, p=pattern_products): try: return cholmod.precision_to_products(Q, **p) except cholmod.NonPositiveDefiniteError: return None