Skip to content

Commit

Permalink
Editted status to work
Browse files Browse the repository at this point in the history
  • Loading branch information
sflorescu committed Dec 13, 2024
1 parent fa21607 commit 9fdee0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions matlab/beamform_mex.cu
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) {

int status = 0;

if (nlhs > 0) {
plhs[0] = mxCreateDoubleScalar((double)status);
if (nlhs > 1) {
plhs[1] = mxCreateDoubleScalar((double)status);
}
}

0 comments on commit 9fdee0e

Please sign in to comment.