LinearProblem constructor does not work as intended
bug
**Describe the bug 🐞**
The docs suggest that the following should return 1:
```julia
julia> LinearProblem(rand(2,2), rand(2), p=1).p
SciMLBase.NullParameters()
```
however, the following works at least
```julia
julia> LinearProblem(rand(2,2), rand(2), 1).p
1
```
**Expected behavior**
The former should also return 1, according to the docstring
```julia
LinearProblem{isinplace}(A,b,p=NullParameters();u0=nothing,kwargs...)
LinearProblem(f::AbstractSciMLOperator,b,p=NullParameters();u0=nothing,kwargs...)
```
**Minimal Reproducible Example 👇**
Above.
**Error & Stacktrace ⚠️**
-
**Environment (please complete the following information):**
- Output of `using Pkg; Pkg.status()`
```julia
[0bca4576] SciMLBase v2.134.0
```
**Additional context**
-
1 条评论