#include "block.h"

static char *delrowid = "$Id: del_row.c,v 1.4 1996/12/30 19:24:38 galway Exp $";

/****************************************************************/
/* 

    del_row.c

    Copyright (C) 2004  Lionel A. Galway

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    For a copy of the GNU General Public License write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA




Routine to delete row nrow from given block.  Requires that row be
in the block (otherwise row count gets mixed up).  Note that the
routine only manipulates the row indicator list and row count, it does
not update quantities like the block code.

Row count is not really used by the algorithm, perhaps should be
discarded.

L. Galway 30-DEC-1996 */
/****************************************************************/

void del_row(nrow,blk)
int nrow;struct block *blk;
{
  blk->irow[nrow]=0;
  (blk->nr)--;
  return;
}
