small bug fix in function dispatcher for logical operators
Merge pull request #81 from torch/logicalDispatchFix

small bug fix in function dispatcher for logical operators