From 5d2a146f1fa8ff16a9de6f35e74d59031fbcb575 Mon Sep 17 00:00:00 2001
From: Vivien Maisonneuve <v.maisonneuve@gmail.com>
Date: Tue, 19 Aug 2014 11:25:05 +0200
Subject: [PATCH 1/1] Simplify LinExpr.values()

---
 linpy/linexprs.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/linpy/linexprs.py b/linpy/linexprs.py
index ab5d344..492ea9e 100644
--- a/linpy/linexprs.py
+++ b/linpy/linexprs.py
@@ -178,8 +178,7 @@ class LinExpr:
         Iterate over the coefficient values in the expression, and the constant
         term.
         """
-        for coefficient in self._coefficients.values():
-            yield coefficient
+        yield from self._coefficients.values()
         yield self._constant
 
     def __bool__(self):
-- 
2.20.1