code: def _check_precision_positivity(precision, covariance_type):
      """Check a precision vector is positive-definite."""
      if np.any(np.less_equal(precision, 0.0)):
          raise ValueError(
              "'%s precision' should be positive" % covariance_type
          )
  
imports: import numpy
  from scipy import linalg
  from ..utils import check_array
  from ..utils._param_validation import StrOptions
  from ..utils.extmath import row_norms
  from ._base import BaseMixture, _check_shape
label_desc: Use image node_id 3 for calling a global function with example usage: _check_precision_positivity(precision, covariance_type) without return types