Skip to content

Commit

Permalink
Merge pull request #591 from bamos/master
Browse files Browse the repository at this point in the history
Remove unnecessary rank check in potrs call.
  • Loading branch information
soumith committed Mar 21, 2016
2 parents eb8d7f2 + 0103713 commit 2620d18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/TH/generic/THTensorLapack.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ void THTensor_(potrs)(THTensor *rb_, THTensor *b, THTensor *a, const char *uplo)
if (b == NULL) b = rb_;

THArgCheck(a->size[0] == a->size[1], 2, "A should be square");
THArgCheck(b->size[0] >= b->size[1], 2, "Matrix B is rank-deficient");

int n, nrhs, lda, ldb, info;
THTensor *ra__; // working version of A matrix to be passed into lapack TRTRS
Expand Down

0 comments on commit 2620d18

Please sign in to comment.