Commit 4d666083 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/pairs.c (bdd_copypair): Use memcpy to copy from->result,

and correctly copy p->last from from->last.
parent 2f6e476c
2003-05-20 Alexandre Duret-Lutz <aduret@src.lip6.fr>
* src/pairs.c (bdd_copypair): Use memcpy to copy from->result.
* src/pairs.c (bdd_copypair): Use memcpy to copy from->result,
and correctly copy p->last from from->last.
* src/pairs.c (bdd_setbddpair): Fix prototype in documentation.
......
......@@ -28,7 +28,7 @@
========================================================================*/
/*************************************************************************
$Header: /Volumes/CVS/repository/spot/spot/buddy/src/pairs.c,v 1.5 2003/05/20 10:42:19 aduret Exp $
$Header: /Volumes/CVS/repository/spot/spot/buddy/src/pairs.c,v 1.6 2003/05/22 12:07:52 aduret Exp $
FILE: pairs.c
DESCR: Pair management for BDD package.
AUTH: Jorn Lind
......@@ -206,7 +206,7 @@ bddPair *bdd_copypair(bddPair *from)
memcpy(p->result, from->result, bddvarnum * sizeof(*p->result));
p->id = update_pairsid();
p->last = -1;
p->last = from->last;
bdd_register_pair(p);
return p;
......
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