shithub: libsamplerate

Download patch

ref: dc719a5d04644bebb2d997f5d108dac06b033472
parent: 18106d3bc0e0795a4a91d63e0c6fbdc8efd9e201
author: Erik de Castro Lopo <erikd@miles>
date: Tue Nov 2 16:58:22 EST 2004

Force a lower limit on population size.

--- a/FIR-POLY/demin.cc
+++ b/FIR-POLY/demin.cc
@@ -81,6 +81,8 @@
 	u_int		dimensions ;
 
 	dimensions = start.GetElements () ;
+	if (dimensions < 20)
+		dimensions = 20 ;
 
 	pfmin = new DEmin ;