Skip to content

Commit

Permalink
Fix typo according for #236
Browse files Browse the repository at this point in the history
  • Loading branch information
thouska committed Sep 25, 2019
1 parent 88bdef3 commit df7b5ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
packages=find_packages(exclude=["tests*", "docs*"]),
package_data={
'spotpy.examples.hymod_exe': ['*'],
'spotpy.examples.hymod_python': ['*'],
'spotpy.examples.hymod_unix': ['*'],
'spotpy.examples.hymod_python': ['*']
},
#include_package_data = True,
include_package_data = True,
use_2to3 = True,
keywords = 'Monte Carlo, MCMC, MLE, SCE-UA, Simulated Annealing, DE-MCz, DREAM, ROPE, Artifical Bee Colony, DDS, PA-DDS, Uncertainty, Calibration, Model, Signatures',
classifiers = [
Expand Down
6 changes: 3 additions & 3 deletions spotpy/examples/tutorial_Parameterlist_iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class spot_setup(object):
slow = 1000
def __init__(self):
self.params = [spotpy.parameter.List('x',[1,2,3,4,6,7,8,9,0]), #Give possible x values as a List
spotpy.parameter.List('y',[0,1,2,5,7,8,9,0,1]) #Give possible y values as a List
self.params = [spotpy.parameter.List('x',[1,2,3,4,5,6,7,8,9,0]), #Give possible x values as a List
spotpy.parameter.List('y',[0,1,2,5,6,7,8,9,0,1]) #Give possible y values as a List
]
def parameters(self):
return spotpy.parameter.generate(self.params)
Expand All @@ -40,4 +40,4 @@ def objectivefunction(self,simulation,evaluation):


sampler=spotpy.algorithms.mc(spot_setup(),dbname='Iterator_example', dbformat='csv') #Parameter lists can be sampled with MC
sampler.sample(10) #Choose equaly or less repetitions as you have parameters in your List
sampler.sample(10) #Choose equaly or less repetitions as you have parameters in your List

0 comments on commit df7b5ec

Please sign in to comment.