-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Addition of Laplacian operation #12382
Conversation
This appears related to #12261. |
@jksuom , then would you consider merging the changes made by me? |
I agree this looks a lot like the other PR. I would likely prefer the other one as it is older, but also I prefer the changes slightly (it calls the function |
I just wanted to know, why there is an error coming in doc tests. Also, I ran the code quality tests on my terminal then they were running fine but here in Travis test, these are giving error. |
|
So , does that mean that every time I include some examples (like here , I included Examples of Laplace in vector/functions.py) I have to include the function name of functions in docstrings too ? |
When doctest is running the examples in docstrings, such as this one, for example,
it simply copies each >>> line verbatim and feeds it to the Python interpreter. It does not automatically import the function. Therefore everything has to be given in the same way as when running the examples manually. |
Ok , Thanks @jksuom |
Fixes #12381