replace missing counter when RINTERPOLATE_DEBUG_SHOW_TABLE is defined

parent 2ef2fd76
......@@ -234,13 +234,14 @@ struct rinterpolate_data_t * rinterpolate(
#ifdef RINTERPOLATE_DEBUG_SHOW_TABLE
if(rinterpolate_debug == TRUE)
{
for(i=0;i<l;i++)
int _i;
for(_i=0;_i<l;_i++)
{
Rinterpolate_print("L%d ",i);
Rinterpolate_print("L%d ",_i);
rinterpolate_counter_t j;
for(j=0;j<table->line_length;j++)
{
Rinterpolate_print("%g ",*(datatable+i*table->line_length+j));
Rinterpolate_print("%g ",*(datatable+_i*table->line_length+j));
}
Rinterpolate_print("\n");
FLUSH;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment