Following expression gives inconsistent results for different values of `n`

.

```
r = 0.0:pi/n:pi
```

I expect it to be length `n+1`

and include `pi`

. For instance, for `n=24`

and `n=26`

the behavior is as I expected, but for `n=25`

it does not include `pi`

.

I guess rounding error in `pi/n`

might be the reason. I am using `range(0.0,stop=pi,length=n+1)`

to avoid this but I wanted to bring this up in case this is an unknown issue.