Index: /issm/trunk-jpl/src/m/coordsystems/ll2xy.py
===================================================================
--- /issm/trunk-jpl/src/m/coordsystems/ll2xy.py	(revision 26397)
+++ /issm/trunk-jpl/src/m/coordsystems/ll2xy.py	(revision 26398)
@@ -57,5 +57,5 @@
     cnt1 = np.nonzero(latitude >= np.pi / 2.)[0]
 
-    if cnt1:
+    if len(cnt1)>0:
         x[cnt1, 0] = 0.0
         y[cnt1, 0] = 0.0
