Skip to content

Commit e37fc54

Browse files
committed
2 parents e3bb0e8 + 91e0de1 commit e37fc54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcxlab.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]){
128128
mcx_initcfg(&cfg);
129129
cfg.isgpuinfo=3;
130130
if(!(activedev=mcx_list_gpu(&cfg,&gpuinfo))){
131-
mexWarnMsgTxt("no active GPU device found");
131+
mexErrMsgTxt("no active GPU device found");
132132
}
133133
plhs[0] = mxCreateStructMatrix(gpuinfo[0].devcount,1,15,gpuinfotag);
134134
for(int i=0;i<gpuinfo[0].devcount;i++){

0 commit comments

Comments
 (0)