# Inv not working in mac?

**URL:** <https://discourse.julialang.org/t/inv-not-working-in-mac/113014>\
**Category:** General Usage\
**Created:** [April 16, 2024, 1:47pm UTC](https://discourse.julialang.org/t/inv-not-working-in-mac/113014 "2024-04-16T13:47:56Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [April 16, 2024, 3:42pm UTC](https://discourse.julialang.org/t/inv-not-working-in-mac/113014/7 "2024-04-16T15:42:00Z")

</div>

> [@dmbates](#):
>
> You can see that the U matrix is essentially singular.

It only throws an exception if it hits a pivot that is exactly zero.

See also [Checking for singularity of matrix - #4 by stevengj](https://discourse.julialang.org/t/checking-for-singularity-of-matrix/54746/4)

---

_[View the full topic](https://discourse.julialang.org/t/inv-not-working-in-mac/113014)._
