Ignore:
Timestamp:
Nov 7, 2014 12:33:23 AM (9 years ago)
Author:
ldelgass
Message:

Add check for grid with swapped min/max

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/mesh.tcl

    r4639 r4659  
    518518            set ${axis}Max $max
    519519            set ${axis}Num $num
     520            if {$min > $max} {
     521                puts stderr "ERROR: grid $axis axis minimum larger than maximum"
     522                return 0
     523            }
    520524            incr numUniform
    521525        } elseif { $coords != "" } {
Note: See TracChangeset for help on using the changeset viewer.