Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 33484ee4 authored by Mathieu Faverge's avatar Mathieu Faverge Committed by LISITO Alycia
Browse files

control: Replace an error onib by a warning and remove commented code

parent d4a22f36
No related branches found
No related tags found
1 merge request!453Ctest getrf
...@@ -371,13 +371,8 @@ int CHAMELEON_Set( int param, int value ) ...@@ -371,13 +371,8 @@ int CHAMELEON_Set( int param, int value )
return CHAMELEON_ERR_ILLEGAL_VALUE; return CHAMELEON_ERR_ILLEGAL_VALUE;
} }
if (value > chamctxt->nb) { if (value > chamctxt->nb) {
chameleon_error("CHAMELEON_Set", "inner block larger than tile"); chameleon_warning("CHAMELEON_Set", "inner block larger than tile");
return CHAMELEON_ERR_ILLEGAL_VALUE;
} }
/* if (chamctxt->nb % value != 0) { */
/* chameleon_error("CHAMELEON_Set", "inner block does not divide tile"); */
/* return CHAMELEON_ERR_ILLEGAL_VALUE; */
/* } */
chamctxt->ib = value; chamctxt->ib = value;
/* Limit ib to nb */ /* Limit ib to nb */
chamctxt->ib = chameleon_min( chamctxt->nb, chamctxt->ib ); chamctxt->ib = chameleon_min( chamctxt->nb, chamctxt->ib );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment