Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of bound parameters #4

Open
hetmankp opened this issue Jul 29, 2012 · 0 comments
Open

Out of bound parameters #4

hetmankp opened this issue Jul 29, 2012 · 0 comments

Comments

@hetmankp
Copy link
Owner

Reported in minecraftforum.net thread:

C:\...\mcmerge-win32-v0.5.3>mcmerge.exe merge --smooth=1.7 --river-width=16 --valley-width=32 --rivercentre-deviation=-4,4 --river-centre-bend=10.2 --river-width-deviation=-2,2 --river-width-bend=4.0 --narrow-factor=3 "%appdata%\.minecraft\saves\world"
Pure-python NBT module loaded.
Getting saved world contour...
Loading world...

Merging chunks:

... 0/800 (0.0%)
Traceback (most recent call last):
File "mcmerge.py", line 887, in <module>
File "mcmerge.py", line 593, in erode
File "mcmerge.py", line 319, in reshape
File "mcmerge.py", line 169, in erode
File "mcmerge.py", line 137, in with_river
File "carve.pyc", line 285, in make_mask
File "carve.pyc", line 255, in make_mask_straights
File "carve.pyc", line 125, in river_shore
File "carve.pyc", line 96, in series
File "scipy\interpolate\interpolate.pyc", line 274, in __init__
File "scipy\interpolate\interpolate.pyc", line 771, in splmake
File "scipy\interpolate\interpolate.pyc", line 492, in _find_smoothest
TypeError: only length-1 arrays can be converted to Python scalars

Comments:
removal of "--river-centre-bend=10.2" made it work again. maybe extend array or suppress values higher than 10?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant