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

pyDOE ccdesign float error #21

Open
shihabkhan1 opened this issue May 23, 2018 · 1 comment
Open

pyDOE ccdesign float error #21

shihabkhan1 opened this issue May 23, 2018 · 1 comment

Comments

@shihabkhan1
Copy link

shihabkhan1 commented May 23, 2018

Hi

I am new to Python. I am using miniconda. I installed pyDOE using conda install -c conda-forge pydoe

When I run the ccdesign command,
ccdesign(2)
I get the following error -

File "", line 1, in
pyDOE.ccdesign(2)
File "/home/home_shihab/miniconda3/lib/python3.6/site-packages/pyDOE/doe_composite.py", line 151, in ccdesign
H1 = ff2n(n)
File "/home/home_shihab/miniconda3/lib/python3.6/site-packages/pyDOE/doe_factorial.py", line 115, in ff2n
return 2*fullfact([2]n) - 1
File "/home/home_shihab/miniconda3/lib/python3.6/site-packages/pyDOE/doe_factorial.py", line 78, in fullfact
rng = lvl
range_repeat
TypeError: 'numpy.float64' object cannot be interpreted as an integer

What should I do?

@tisimst
Copy link
Owner

tisimst commented May 23, 2018

This isn't a unique issue to ccdesign, just so you are aware. I haven't had the time to update the repository with a fix yet, but I do have a solution. It will get fixed in due time.

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

2 participants