symengine / SymEngine.jl

Compare 5226eff ... +1 ... 2f82277

Flags

Flags have been temporarily removed from this view while the flagging feature is refactored for better performance and user experience.

You can still use flags when viewing individual files. Flag-level thresholds will also remain on pull and merge requests in your repository provider.

More information can be found in our documentation.

Showing 1 of 2 files from the diff.
Other files ignored by Codecov
test/runtests.jl has changed.

@@ -27,6 +27,13 @@
Loading
27 27
-(b::SymbolicType) = 0 - b
28 28
\(b1::SymbolicType, b2::SymbolicType) = b2 / b1
29 29
30 +
# In contrast to other standard operations such as `+`, `*`, `-`, and `/`,
31 +
# Julia doesn't implement a general fallback of `//` for `Number`s promoting
32 +
# the input arguments. Thus, we implement this here explicitly.
33 +
Base.:(//)(b1::SymbolicType, b2::Number) = //(promote(b1, b2)...)
34 +
Base.:(//)(b1::Number, b2::SymbolicType) = //(promote(b1, b2)...)
35 +
36 +
30 37
function sum(v::CVecBasic)
31 38
    a = Basic()
32 39
    err_code = ccall((:basic_add_vec, libsymengine), Cuint, (Ref{Basic}, Ptr{Cvoid}), a, v.ptr)
@@ -43,6 +50,7 @@
Loading
43 50
+(b1, b2::Basic, b3, bs...) = +(Basic(b1), Basic(b2), Basic(b3), bs...)
44 51
+(b1, b2, b3::Basic, bs...) = +(Basic(b1), Basic(b2), Basic(b3), bs...)
45 52
53 +
46 54
## ## constants
47 55
Base.zero(x::Basic) = Basic(0)
48 56
Base.zero(::Type{T}) where {T<:Basic} = Basic(0)

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
src 0.09% 63.89%
Project Totals (15 files) 63.89%
Loading