We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8386451 commit 44fdfd7Copy full SHA for 44fdfd7
1 file changed
stan/math/prim/fun/determinant.hpp
@@ -20,10 +20,6 @@ namespace math {
20
template <typename T, require_eigen_vt<std::is_arithmetic, T>* = nullptr>
21
inline value_type_t<T> determinant(const T& m) {
22
check_square("determinant", "m", m);
23
- if (m.size() == 0) {
24
- return 1;
25
- }
26
-
27
return m.determinant();
28
}
29
0 commit comments