mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +08:00
fix compile on mac
This commit is contained in:
@@ -69,7 +69,7 @@ DLDataType FDToDlpackType(FDDataType fd_dtype) {
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
FDASSERT(false,
|
FDASSERT(false,
|
||||||
"Convert to DlPack, FDType \"%s\" is not supported.", Str(fd_dtype));
|
"Convert to DlPack, FDType \"%s\" is not supported.", Str(fd_dtype).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
dl_dtype.code = dl_code;
|
dl_dtype.code = dl_code;
|
||||||
|
Reference in New Issue
Block a user