Index: /issm/trunk-jpl/src/c/modules/SurfaceMassBalancex/Gembx.cpp
===================================================================
--- /issm/trunk-jpl/src/c/modules/SurfaceMassBalancex/Gembx.cpp	(revision 28249)
+++ /issm/trunk-jpl/src/c/modules/SurfaceMassBalancex/Gembx.cpp	(revision 28250)
@@ -1281,5 +1281,5 @@
 
 	// SHORTWAVE FUNCTION
-	if (swIdx == 0 | (dIce - d[0])<Dtol) {// all sw radation is absorbed in by the top grid cell
+	if (swIdx == 0 || (dIce - d[0])<Dtol) {// all sw radation is absorbed in by the top grid cell
 
 		// calculate surface shortwave radiation fluxes [W m-2]
