compilation under ubuntu

This commit is contained in:
Anatoly Baksheev 2011-09-30 12:00:44 +00:00
parent 0fc8fc77c0
commit 5e831f7fca

View File

@ -429,7 +429,7 @@ int main(int argc, char **argv)
#endif
#define SAFE_MAT_DECL(name, allocator, sx, sy) \
NCVMatrixAlloc<Ncv32f> name(*allocator, sx, sy);\
ncvAssertReturn(name##.isMemAllocated(), -1);
ncvAssertReturn(name.isMemAllocated(), -1);
SAFE_MAT_DECL (u, g_pGPUMemAllocator, width, height);
SAFE_MAT_DECL (v, g_pGPUMemAllocator, width, height);