- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 12
 
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I am encountering a TypeError when performing a multivariable definite integral.
Environment:
- Julia Version: 1.11.6
 - Operating System: Manjaro Linux
 
Code:
using Symbolics
using SymbolicNumericIntegration
@variables x a
# This works fine
julia> integrate(exp(a * x), x)
[ Info: The input expression has constant parameters: [a], forcing `symbolic = true`
(exp(a*x) / a, 0, 0)# This causes an error
julia> integrate(exp(a * x), (x, 0.1, 1))
[ Info: The input expression has constant parameters: [a], forcing `symbolic = true`
ERROR: TypeError: non-boolean (SymbolicUtils.BasicSymbolic{Bool}) used in boolean context
Stacktrace:
 [1] integrate(eq::Num, xx::Tuple{Num, Float64, Int64}; kwargs::@Kwargs{})
   @ SymbolicNumericIntegration ~/.julia/packages/SymbolicNumericIntegration/tdfFL/src/integral.jl:124
 [2] integrate(eq::Num, xx::Tuple{Num, Float64, Int64})
   @ SymbolicNumericIntegration ~/.julia/packages/SymbolicNumericIntegration/tdfFL/src/integral.jl:119
 [3] top-level scope
   @ REPL[3]:1Environment (please complete the following information):
- Output of 
using Pkg; Pkg.status() 
Status `~/Documents/bathe-ex4-6/Project.toml`
  [91a5bcdd] Plots v1.41.1
  [78aadeae] SymbolicNumericIntegration v1.9.0
  [0c5d862f] Symbolics v6.55.0- Output of 
versioninfo() 
Julia Version 1.11.6
Commit 9615af0f269 (2025-07-09 12:58 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 4 × Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)
Environment:
  JULIA_EDITOR = code
  JULIA_VSCODE_REPL = 1Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working