79797229

Date: 2025-10-22 21:04:29
Score: 1
Natty:
Report link

The issue wasn’t with the code itself, but with the expression. It should be 1/ng instead of ng.
That change makes a big difference, since using 1/ng keeps the values on a proper scale and ensures the determinant is non-zero.
After fixing it to 1/ng, it works as expected.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Miguel