InverseLight / ValoMC

Monte Carlo software for simulating light propagation
https://inverselight.github.io/ValoMC/
Other
43 stars 14 forks source link

error when running /examples/netgentest3d.m -> "Cannot find mex function createBH3. It is located at cpp/3d/createBH3mex.cpp ..." #6

Open vkornyeyev opened 4 years ago

vkornyeyev commented 4 years ago

Changing lines 32 and 38 as shown below in createBH.m fixes issue:

if(exist('createBH3') == 0) -TO-> if(exist('createBH3mex') == 0) BH = createBH3(int64(H)); -TO-> BH = createBH3mex(int64(H));