title: xtensor-blas incorrect computation
body: <p>I'm trying to use xtensor-blas for the first time. I've had <a href="https://stackoverflow.com/questions/66874119/cannot-use-xtensor-blas-on-windows">lots of difficulties</a> linking to it, but finally, I've done that and tried to run the <a href="https://xtensor-blas.readthedocs.io/en/latest/usage.html" rel="nofollow noreferrer">sample programs</a>. However, as the output, I get <code>0</code> for the first and <code>0, -inf</code> for the second.</p>
  <p>I'm using <code>Windows 10 x64</code>, <code>Clion 2021.1</code><br>
  Installed <code>cmake 3.19.7</code>, <code>xtensor 0.23.4</code>, <code>xtensor-blas 0.19.0</code>, <code>openblas 0.3.13</code>, <code>lapack 3.6.1</code> using <code>anaconda</code><br>
  Compiled using <code>Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64\cl.exe</code></p>
  <pre><code>cmake_minimum_required(VERSION 3.19)
  project(tstxtensor6)
  
  set(CMAKE_CXX_STANDARD 20)
  
  find_package(xtensor)
  find_package(xtensor-blas)
  add_executable(${PROJECT_NAME} main.cpp)
  
  target_link_libraries(${PROJECT_NAME} xtensor xtensor-blas)
  </code></pre>
  <pre class="lang-cpp prettyprint-override"><code>#include &lt;xtensor-blas/xlinalg.hpp&gt;
  
  int main()
  {
      {
          xt::xarray&lt;double&gt; a = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
          auto d = xt::linalg::det(a);
          std::cout &lt;&lt; d &lt;&lt; std::endl;  // 6.661338e-16
      }
      {
          xt::xarray&lt;double&gt; a = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
          auto d = xt::linalg::slogdet(a);
          std::cout &lt;&lt; std::get&lt;0&gt;(d) &lt;&lt; &quot;, &quot; &lt;&lt; std::get&lt;1&gt;(d) &lt;&lt; std::endl;  // 1, -34.9450...
      }
  }
  </code></pre>