Skip to content

Fix API reference#362

Merged
kwmsmith merged 17 commits into
masterfrom
bugfix/refactor-broke-docs
May 5, 2014
Merged

Fix API reference#362
kwmsmith merged 17 commits into
masterfrom
bugfix/refactor-broke-docs

Conversation

@bgrant
Copy link
Copy Markdown
Contributor

@bgrant bgrant commented May 5, 2014

The recent refactor broke the API docs. This fixes them.

Based on #360 and #361.

bgrant added 17 commits May 2, 2014 11:50
Also, fix the tests.

All of these functions have been modified to take a distribution as a required argument, whereas before, some of them could be called without shape/dist/grid_shape parameters to return a single scalar.  This didn't seem to be an important use-case (one could just use the appropriate numpy function for that), so I omitted it.
…bution

Conflicts:
	distarray/dist/decorators.py
	distarray/dist/tests/test_context.py
	distarray/dist/tests/test_decorators.py
	distarray/dist/tests/test_distributed_io.py
	distarray/dist/tests/test_random.py
…r-broke-docs

Conflicts:
	examples/plot_distarray_block_axis_0.py
	examples/plot_distarray_block_axis_1.py
	examples/plot_distarray_block_block.py
	examples/plot_distarray_block_cyclic.py
	examples/plot_distarray_cyclic_cyclic.py
@bgrant bgrant added this to the 0.3 milestone May 5, 2014
@bgrant bgrant added bug and removed enhancement labels May 5, 2014
@kwmsmith
Copy link
Copy Markdown
Contributor

kwmsmith commented May 5, 2014

LGTM. Thanks.

kwmsmith added a commit that referenced this pull request May 5, 2014
@kwmsmith kwmsmith merged commit 541f2a6 into master May 5, 2014
@cowlicks cowlicks deleted the bugfix/refactor-broke-docs branch May 5, 2014 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants