From 33484ee4d1725beee80cc9da12bd8129762373a8 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Mon, 25 Mar 2024 10:50:28 +0100 Subject: [PATCH] control: Replace an error onib by a warning and remove commented code --- control/context.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/control/context.c b/control/context.c index 18e7a719b..566b5461b 100644 --- a/control/context.c +++ b/control/context.c @@ -371,13 +371,8 @@ int CHAMELEON_Set( int param, int value ) return CHAMELEON_ERR_ILLEGAL_VALUE; } if (value > chamctxt->nb) { - chameleon_error("CHAMELEON_Set", "inner block larger than tile"); - return CHAMELEON_ERR_ILLEGAL_VALUE; + chameleon_warning("CHAMELEON_Set", "inner block larger than tile"); } - /* if (chamctxt->nb % value != 0) { */ - /* chameleon_error("CHAMELEON_Set", "inner block does not divide tile"); */ - /* return CHAMELEON_ERR_ILLEGAL_VALUE; */ - /* } */ chamctxt->ib = value; /* Limit ib to nb */ chamctxt->ib = chameleon_min( chamctxt->nb, chamctxt->ib ); -- GitLab