pkgsrc/misc/libquantum/patches/patch-aa
obache c78ed6aa86 Update libquantum to 1.0.0.
libquantum 1.0.0:
	- Fixed quantum_gate1 to work properly with sorted regs
	- Fixed several bugs in quantum_rk4a

libquantum 0.9.1:
	- Added fourth-order Runge-Kutta time evolution
	- Fixed error in quantum_measure() that caused some register values
	  never being measured
	- Improved error handling
	- Updated license and FSF contact data
	- Added arbitrary two-qubit gate
	- New function two print entire time evolution operator
	- Fixed Makefile syntax
2010-08-15 07:35:56 +00:00

13 lines
307 B
Text

$NetBSD: patch-aa,v 1.3 2010/08/15 07:35:56 obache Exp $
--- measure.c.orig 2008-09-07 11:02:28.000000000 +0000
+++ measure.c
@@ -40,7 +40,7 @@
double
quantum_frand()
{
- return (double) rand() / RAND_MAX;
+ return (double) random() / RAND_MAX;
}
/* Measure the contents of a quantum register */