-
Notifications
You must be signed in to change notification settings - Fork 115
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
Error box Behnken #18
Comments
bouhlelma
changed the title
Hi, I am using pyDOE for generating box Behnken.
Hi, I am using pyDOE for generating box Behnken. I got an error:
Jan 22, 2018
bouhlelma
changed the title
Hi, I am using pyDOE for generating box Behnken. I got an error:
Error box Behnken
Jan 22, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I am using pyDOE for generating box Behnken and I got an error:
File "/root/anaconda3/lib/python3.6/site-packages/pyDOE/doe_repeat_center.py", line 43, in repeat_center
return np.zeros((repeat, n))
TypeError: 'float' object cannot be interpreted as an integer
I think the problem is in line 73 from the file pyDOE/doe_box_behnken:
nb_lines = (n*(n-1)/2)*H_fact.shape[0]
when I modify the above line to
nb_lines = int((n*(n-1)/2)*H_fact.shape[0])
it works well
The text was updated successfully, but these errors were encountered: