public void EnforceLimit() { if (!_connectionLimited) { return; } double[] weights = _flat.Weights; for (int i = 0; i < weights.Length; i++) { if (Math.Abs(weights[i]) < _connectionLimit) { weights[i] = 0; } } }