andresy/torch — pull request #97 by jucor (2012-12-12 14:40:27+00:00)
Title: Allow for equal bounds in range

```
[julien@stmartin generic (RangeEqualBounds=)]$ torch
Try the IDE: torch -ide
Type help() for more info
Torch 7.0 Copyright (C) 2001-2011 Idiap, NEC Labs, NYU
Lua 5.1 Copyright (C) 1994-2008 Lua.org, PUC-Rio
t7> =torch.range(1,1)
1
[torch.DoubleTensor of dimension 1]

t7> return torch.range(1,1,-1)
1
[torch.DoubleTensor of dimension 1]

t7> torch.test()
Running 34 tests
__________________________________ ==> Done

Completed 79 asserts in 34 tests with 0 errors

--------------------------------------------------------------------------------
t7>
```