code: def test_ticket_1459_arpack_crash():
      for dtype in [np.float32, np.float64]:
          # This test does not seem to catch the issue for float32,
          # but we made the same fix there, just to be sure
  
          N = 6
          k = 2
  
          np.random.seed(2301)
          A = np.random.random((N, N)).astype(dtype)
          v0 = np.array(
              [
                  -0.71063568258907849895,
                  -0.83185111795729227424,
                  -0.34365925382227402451,
                  0.46122533684552280420,
                  -0.58001341115969040629,
                  -0.78844877570084292984e-01,
              ],
              dtype=dtype,
          )
  
          # Should not crash:
          evals, evecs = eigs(A, k, v0=v0)
  
imports: import threading
  import itertools
  import sys
  import platform
  import numpy
  from numpy.testing import assert_allclose, assert_array_almost_equal_nulp, assert_equal, assert_array_equal, suppress_warnings
  from pytest import raises
  import pytest
  from numpy import dot, conj, random
  from scipy.linalg import eig, eigh, hilbert, svd
  from scipy.sparse import csc_matrix, csr_matrix, isspmatrix, diags, rand
  from scipy.sparse.linalg import LinearOperator, aslinearoperator
  from scipy.sparse.linalg.eigen.arpack import eigs, eigsh, svds, ArpackNoConvergence, arpack
  from scipy._lib._gcutils import assert_deallocated, IS_PYPY
label_desc: Use image node_id 19 for calling a global function with example usage: test_ticket_1459_arpack_crash() without return types