-
Currently work and threads do not support passing userdata.
Note: I'm using sol2 defined userdata but this shouldn't matter.
Example:
```lua
local channel = UserDataChannel.new()
local thread_i…
-
System: Windows 11
IDE: VS 2022
SOL: sol2-4.0 alpha
Lua: 5.4.3
code:
```c++
auto lua = sol::state();
const std::optional str = "";
lua["str"] = str;// compilation error.
```
-
Using an automatic solver to solve this sample problem does not allow for the compiler to infer the type of `sol1` or `sol2` at all.
```julia
using DifferentialEquations
function lorenz!(du,u,p…
-
我日常开发大量使用 libhv 和 lua , 有过绑定 lua 到 hv 的尝试, 希望能给此项目提供帮助 。
我的做法是使用 [sol2](https://github.com/ThePhD/sol2.git) 将 c++ 中的函数注册给 lua_state, 将其编译为可以被 lua require 加载的包.
不知作者有何计划或方案? 希望能与你交流.
-
Originally posted as https://discourse.julialang.org/t/strange-maxiters-numeric-instability-occured-when-solving-certain-sde/49392 however, after looking closer at it I think it might be a bug in the …
-
Looks like a stale version number has slipped into the latest release.
Download the latest release which is advertised as 3.3.0 from
https://github.com/ThePhD/sol2/releases
sol.hpp has version…
-
Any plans on adding iteration capabilities in sol::table ?
-
~~Right now, the build script requires that Lua be installed *somewhere* accessible to CMake; it does not use any sort of package manager like Conan.~~
~~We probably should do that.~~
We should …
-
Specifying maxiters with CubaSUAVE() causes julia to crash, e.g.
```
using Integrals, IntegralsCuba
f(x,p) = sum(sin.(x))
prob = IntegralProblem(f,ones(2),3ones(2))
sol = solve(prob,CubaSUAVE(),…
-
Official repository:
https://github.com/luabind/luabind
Forks:
https://github.com/rpavlik/luabind
https://github.com/OpenXRay/luabind-deboostified/
Documentation:
https://github.com/luabind/…