-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Can someone explain what is needed here please?
I am already passing a float variable of which all elements are already in decimal points.
this statement wpt(x, wt, maketree(x)) return the following error
ERROR: DomainError with -1:
Cannot raise an integer x to a negative power -1.
Make x or -1 a float by adding a zero decimal (e.g., 2.0^-1 or 2^-1.0 instead of 2^-1), or write 1/x^1, float(x)^-1, x^float(-1) or (x//1)^-1
Thank you!
Metadata
Metadata
Assignees
Labels
No labels