Utensil
Utensil
Auto-converting one-dimensional AbstractArray to Matrix breaks type-checking logic in Python library
In https://github.com/JuliaPy/SymPy.jl/blob/master/src/matrix.jl#L37: ```julia ## This allows abstract arrays of Sym Objects to slip through sympy.meth() calls PyCall.PyObject(A::AbstractArray{Sym,2}) = PyCall.pycall(sympy.Matrix, PyCall.PyObject, [PyCall.PyObject.(A[i,:]) for i in 1:size(A)[1]]) PyCall.PyObject(V::AbstractArray{Sym,1}) = PyCall.pycall(sympy.Matrix, PyCall.PyObject,[[PyCall.PyObject(v)] for...
As @breznak suggested at https://github.com/numenta/nupic.core/issues/41#issuecomment-39838146 and http://lists.numenta.org/pipermail/nupic-hackers_lists.numenta.org/2014-April/000521.html : `nupic.core` should adopt or implement a `lint` tool and write rules to validate and ensure conventions .
Now that `nupic.core` is using gtest, we have some more tasks to update our unit testing process to provide all tests in the same format and consistent test reporting. ---...
I've noticed that `nupic.core` currently uses single-thread make on travis, and did some speed up experiments. Under Linux, we could use `make -j$(nproc)` to tell make to use as many...
I tried running the following command in Ubuntu docker (`mcr.microsoft.com/devcontainers/base:ubuntu`) on Mac (M1 Chip): ``` curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net |sh ``` It gives the following error: ``` tectonic(drop-installer.sh):...
In this PR, we define `lipschitzGroup`, `pinGroup` and `spinGroup`, and prove some basic lemmas. Ported from leanprover-community/mathlib/pull/16040. Co-authored-by: Jiale Miao Co-authored-by: Eric Wieser --- [](https://gitpod.io/from-referrer/) This PR is...
In https://github.com/sympy/sympy/blob/master/sympy/core/function.py, the following lines in `class FunctionClass` ```python # When __init__ is called from UndefinedFunction it is called with # just one arg but when it is called from...
For an `Mul` between a numeric power and a polynomial with numeric coefficient `Mul(Pow(Symbol('x', real=True), Integer(2)), Add(Mul(Integer(2), Symbol('x', real=True)), Integer(1)))` In SymPy 1.9, it gives $$ \displaystyle x^{2} \left(2 x...
Work-in-progress.
Hi! It's great to see someone writing an LOL simulator. I read through the the code and the implementation is quite straight forward. But there's something weird when champions are...