These are chat archives for symengine/symengine

23rd
Mar 2017
Ranjith Kumar
@ranjithkumar007
Mar 23 2017 06:31
Can anyone restart this job ? It failed due to an unknown protocol error in connection.
Ranjith Kumar
@ranjithkumar007
Mar 23 2017 06:52
Is auto-cancellation enabled for SymEngine's repo? If not, I think it would be really helpful to enable it.
Prateek Singh
@prateeksingh0001
Mar 23 2017 07:38
@isuruf Thanks a lot for the help :smile: , I was able to solve the issue. I've created a PR kindly review it symengine/symengine#1228
Christopher Rackauckas
@ChrisRackauckas
Mar 23 2017 16:40
so I assume it's symengine/SymEngine.jl#79 before tag?
Isuru Fernando
@isuruf
Mar 23 2017 16:51
@ChrisRackauckas, I've merged it now. Anything else before I tag?
Christopher Rackauckas
@ChrisRackauckas
Mar 23 2017 16:53
nah, seems good
all set for v0.6-compat :smile:
Thanks!
Isuru Fernando
@isuruf
Mar 23 2017 16:56
JuliaLang/METADATA.jl#8460
Prateek Singh
@prateeksingh0001
Mar 23 2017 17:25
@isuruf while writing the test cases for the issue symengine/symengine#1228 (Changing E to exp(1)) I faced an issue that when we multiply an integer x with exp(1) it is represented as x**E. On further looking into the issue I found out that the architecture of the dictionary is such that it stores the the exponential functions as separately in terms of it's base and exponent which is done via void Mul::dict_add_term(map_basic_basic &d, const RCP<const Basic> &exp, const RCP<const Basic> &t) function (in mul.cpp). So, do we need to change the exp() function such that it works for products also or should we leave it as it is, because IMO it would need some changes in the architecture of the dictionary. Please do tell me if you have any other solutions.
Shikhar Jaiswal
@ShikharJ
Mar 23 2017 18:14
@isuruf Regarding symengine/symengine.py#126 I think that we should add a docstring mentioning the similarity of _Min /_Max of symengine_wrapper.pyx and Min/Max of sympy_compat.py. Probably, we can also specify to import _Min/_Max as Min/Max while importing routines from the wrapper.
Christopher Rackauckas
@ChrisRackauckas
Mar 23 2017 21:06
INFO: Precompiling module DiffEqProblemLibrary.

signal (11): Segmentation fault
while loading /home/crackauc/.julia/v0.5/DiffEqProblemLibrary/src/ode_premade_problems.jl, in expression starting on line 163
basic_diff at /home/crackauc/.julia/v0.5/SymEngine/deps/usr/lib/libsymengine.so (unknown line)
diff at /home/crackauc/.julia/v0.5/SymEngine/src/calculus.jl:12
unknown function (ip: 0x7f50dc8c9754)
jl_apply_generic at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
diff at /home/crackauc/.julia/v0.5/SymEngine/src/calculus.jl:22
collect at ./array.jl:307
#ode_def_opts#1 at /home/crackauc/.julia/v0.5/ParameterizedFunctions/src/ode_def_opts.jl:91
jl_apply_generic at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
jl_f__apply at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
ode_def_opts at /home/crackauc/.julia/v0.5/ParameterizedFunctions/src/ode_def_opts.jl:4
jl_apply_generic at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
jl_f__apply at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
@ode_def_noinvhes at /home/crackauc/.julia/v0.5/ParameterizedFunctions/src/macros.jl:50
unknown function (ip: 0x7f52efe453bc)
unknown function (ip: 0x7f52eff01c2f)
unknown function (ip: 0x7f52eff032b2)
unknown function (ip: 0x7f52eff039e0)
unknown function (ip: 0x7f52eff01c2f)
unknown function (ip: 0x7f52eff03ceb)
unknown function (ip: 0x7f52eff01847)
unknown function (ip: 0x7f52eff032b2)
unknown function (ip: 0x7f52eff034cb)
unknown function (ip: 0x7f52efe45df5)
jl_load at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
jl_load_ at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
include_from_node1 at ./loading.jl:488
unknown function (ip: 0x7f52e3535efb)
jl_apply_generic at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
unknown function (ip: 0x7f52efe50b7d)
unknown function (ip: 0x7f52efe5062e)
unknown function (ip: 0x7f52efe6c5b6)
unknown function (ip: 0x7f52efe6d507)
unknown function (ip: 0x7f52efe45d85)
jl_load at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
jl_load_ at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
include_from_node1 at ./loading.jl:488
unknown function (ip: 0x7f52e3535efb)
jl_apply_generic at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
unknown function (ip: 0x7f52efe50b7d)
unknown function (ip: 0x7f52efe5062e)
jl_toplevel_eval at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
unknown function (ip: 0x7f52efe4b7e3)
macro expansion; at ./none:2 [inlined]
anonymous at ./<missing> (unknown line)
unknown function (ip: 0x7f50c3bd5761)
jl_toplevel_eval at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
unknown function (ip: 0x7f52efe4b7e3)
eval at ./boot.jl:234
unknown function (ip: 0x7f52e352162f)
jl_apply_generic at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
process_options at ./client.jl:239
_start at ./client.jl:318
unknown function (ip: 0x7f52e355b6e8)
jl_apply_generic at /usr/bin/../lib64/libjulia.so.0.5 (unknown line)
unknown function (ip: 0x40192e)
unknown function (ip: 0x4012f9)
__libc_start_main at /usr/bin/../lib64/libc.so.6 (unknown line)
unknown function (ip: 0x401340)
Allocations: 5335775 (Pool: 5334668; Big: 1107); GC: 7
@isuruf test dependency is now segfaulting
it's just a test dep, so it's not too bad
I'll try to find out what's causing it
using ParameterizedFunctions
van = @ode_def_noinvhes VanDerPol begin
  dy = μ*(1-x^2)*y - x
  dx = 1*y
end μ=>1.
Christopher Rackauckas
@ChrisRackauckas
Mar 23 2017 21:14
@isuruf got it
using SymEngine
SymEngine.Basic(:(μ))
Unicode was supported before though when I was making everything symbols?