From 114b16dacdfbc1513289513772a171d3fd596407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 11 May 2017 06:42:08 +0200 Subject: [PATCH] Use pc_patch_set_schema correctly in ght test --- lib/cunit/cu_pc_patch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cunit/cu_pc_patch.c b/lib/cunit/cu_pc_patch.c index 2525ed8..0e35b10 100644 --- a/lib/cunit/cu_pc_patch.c +++ b/lib/cunit/cu_pc_patch.c @@ -1200,7 +1200,7 @@ test_patch_set_schema_compression_ght() pcfree(str); // assign a schema with unknown dimension to the patch - pat1 = pc_patch_set_schema(pat0, simpleschema, 1, 0.0); + pat1 = pc_patch_set_schema(pat0, simpleschema, 0.0); CU_ASSERT(pat1 != NULL); str = pc_patch_to_string(pat1); CU_ASSERT_STRING_EQUAL(str, "{\"pcid\":0,\"pts\":[[0.4,0.8,1.2,0],[0.3,0.6,0.9,0],[0.2,0.4,0.6,0],[0.1,0.2,0.3,0],[0,0,0,0]]}");