Scipy: Duplicated code in stats.ks_2samp

Created on 13 Jul 2018  路  4Comments  路  Source: scipy/scipy

Is it on purpose that these lines are duplicates? If so, a comment to explain why would be welcome.

invalid

All 4 comments

You're looking at a very old version (0.14.0), it's fixed in master: https://github.com/scipy/scipy/blob/master/scipy/stats/stats.py#L4846

Thanks for the report anyway @Vayel

@rgommers Oups sorry. This is the version linked in the docs ("source" link).

It's the link given in the documentation only if you are reading the
documentation for the old 0.14.0 version.

image

You probably end up on that page through a search engine. If you look at the top of the documentation page you can see which version docs you are looking at. If you click on Docs you can go back to all versions of the documentation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

moritzschaefer picture moritzschaefer  路  4Comments

gvr37leo picture gvr37leo  路  3Comments

nschloe picture nschloe  路  4Comments

nschloe picture nschloe  路  5Comments

manuelsmendoza picture manuelsmendoza  路  4Comments