From 76a7dd3b8c088fa08a3e6029277446fc68b4fd8d Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Tue, 16 Nov 2010 09:07:11 +0100 Subject: [PATCH] Fixed stress tests. --- stress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stress.c b/stress.c index 9470ed2..53fdeb2 100644 --- a/stress.c +++ b/stress.c @@ -320,10 +320,10 @@ void test_array(void) /* array comparisons with mpdm_cmp() */ a = MPDM_A(2); + mpdm_ref(a); mpdm_aset(a, MPDM_I(10), 0); mpdm_aset(a, MPDM_I(60), 1); - mpdm_ref(a); v = mpdm_ref(mpdm_clone(a)); do_test("mpdm_cmp: array clones are equal", mpdm_cmp(a, v) == 0); -- 2.11.4.GIT