From 967403996a881ac435312e17c2dbce31fe99755b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Fri, 1 Feb 2013 16:30:45 +0100 Subject: [PATCH] Replace an assignment with intended equality test This corrects a latent error that has been present since the inception of this module. --- opm/core/transport/reorder/tarjan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/transport/reorder/tarjan.c b/opm/core/transport/reorder/tarjan.c index 320244533..d3245610b 100644 --- a/opm/core/transport/reorder/tarjan.c +++ b/opm/core/transport/reorder/tarjan.c @@ -196,7 +196,7 @@ tarjan (int nv, const int *ia, const int *ja, int *vert, int *comp, } else { - assert(status[child] = DONE); + assert(status[child] == DONE); } } }