# degree versus in_degree

I have a problem when calling degree and in_degree on directed graph I loaded. In particular, I had thought, for a particular node, that degree = in + out degree but am getting a situation where in_degree > degree for a given node. Here is the output for a graph I loaded:

```
sage: T.in_degree(vertices=[0],labels=True)
{0: 628}
sage: T.degree(vertices=[0],labels=True)
{0: 394}
```

This is also the case for other nodes in the graph.

Any idea what's going on here?

thanks! --David

There might be a bug, could you please provide the code for

`T`

so that we can inspect further ?