aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/aveqc.x
blob: e8d07db1df1acf2646ea6a8e77775410751f6d1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# AVEQ -- Compare two vectors for equality.

bool procedure aveqc (a, b, npix)

char	a[ARB], b[ARB]		#I vectors to be compared
int	npix			#I number of pixels to be compared

int	i

begin
	do i = 1, npix
	    if (a[i] != b[i])
		return (false)

	return (true)
end