Commit 7ad2afce authored by Mathieu Faverge's avatar Mathieu Faverge

Change the interface of walk_step

parent 0cc4f3d2
......@@ -216,7 +216,7 @@ void libhqr_finalize( libhqr_tree_t *qrtree );
* @name Function to walk the tree in correct order for STF programing model
* @{
*/
void libhqr_walk_stepk( const libhqr_tree_t *qrtree, int k, int *tiles );
int libhqr_walk_stepk( const libhqr_tree_t *qrtree, int k, int *tiles );
/**
* @}
......
......@@ -950,9 +950,9 @@ libhqr_getfirst_pivot( const libhqr_tree_t *qrtree, int k )
* @param[in] tiles
* Array of size qrtree->mt that stores in the first entries the tiles
* to kill in the right order to walk through the tree.
*
* The last entry corresponds to the main pivot.
*/
void
int
libhqr_walk_stepk( const libhqr_tree_t *qrtree,
int k, int *tiles )
{
......@@ -1006,9 +1006,13 @@ libhqr_walk_stepk( const libhqr_tree_t *qrtree,
pivot = p = ttid;
}
tiles[m] = p;
//assert(m == (qrtree->mt-1));
assert(ts == NULL);
assert(tt == NULL);
return m;
}
/**
......
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