lib/numru/gphys/gphys.rb in gphys-1.5.3 vs lib/numru/gphys/gphys.rb in gphys-1.5.4
- old
+ new
@@ -745,9 +745,12 @@
@grid.axnames
end
def rank
@grid.rank
end
+ def rank_len_ne_1
+ (shape_current - [1]).length
+ end
def axis(i)
@grid.axis(i)
end
def coord(i)
@grid.coord(i)