Don't use ==, use T.eq.