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 5824df1 commit e381bf2Copy full SHA for e381bf2
lax/src/solveh.rs
@@ -55,6 +55,9 @@ macro_rules! impl_bk_work {
55
fn calc(&mut self, uplo: UPLO, a: &mut [Self::Elem]) -> Result<&[i32]> {
56
let (n, _) = self.layout.size();
57
let lwork = self.work.len().to_i32().unwrap();
58
+ if lwork == 0 {
59
+ return Ok(&[]);
60
+ }
61
let mut info = 0;
62
unsafe {
63
$trf(
0 commit comments