[BACK]Return to dist.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018 / engine

Diff for /OpenXM_contrib2/asir2018/engine/dist.c between version 1.22 and 1.23

version 1.22, 2020/02/11 01:43:57 version 1.23, 2020/06/19 10:18:13
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2018/engine/dist.c,v 1.21 2020/02/05 04:56:10 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2018/engine/dist.c,v 1.22 2020/02/11 01:43:57 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
   
Line 589  void _addtodl(int n,DL d1,DL d2)
Line 589  void _addtodl(int n,DL d1,DL d2)
   d2->td += d1->td;    d2->td += d1->td;
   for ( i = 0; i < n; i++ )    for ( i = 0; i < n; i++ )
     d2->d[i] += d1->d[i];      d2->d[i] += d1->d[i];
   }
   
   void _subfromdl(int n,DL d1,DL d2)
   {
     int i;
   
     d2->td -= d1->td;
     for ( i = 0; i < n; i++ )
       d2->d[i] -= d1->d[i];
 }  }
   
 void _copydl(int n,DL d1,DL d2)  void _copydl(int n,DL d1,DL d2)

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>