Method method: chol can't be used with combination with dense matrixes (sparse: false) in configuration file. The program is terminated with following error:
Traceback (most recent call last):
File "./src/main.py", line 51, in <module>
main(parse_arguments())
File "./src/main.py", line 29, in main
terrain.approximate_terrain()
File "/home/jiri/GitHub/bapprox/src/terrain_data.py", line 302, in approximate_terrain
{'threshold': threshold})
File "/home/jiri/GitHub/bapprox/src/approx/terrain.py", line 886, in approx
return approx_chol(terrain_data, quad, u_knots, v_knots, sparse, conf['threshold'])
File "/home/jiri/GitHub/bapprox/src/approx/terrain.py", line 820, in approx_chol
c_mat = bb_mat + r * (bb_norm[0] / a_norm[0]) * a_mat
IndexError: invalid index to scalar variable.
Method
method: chol
can't be used with combination with dense matrixes (sparse: false
) in configuration file. The program is terminated with following error: