Comments (1)
The program is terminated with this error:
Creating B matrix ...
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 307, in approximate_terrain
raw, diffs = approx.terrain.approx(solver_method, terrain, u_knots, v_knots, sparse=sparse)
File "/home/jiri/GitHub/bapprox/src/approx/terrain.py", line 882, in approx
return approx_qr(terrain_data, u_knots, v_knots, sparse)
File "/home/jiri/GitHub/bapprox/src/approx/terrain.py", line 607, in approx_qr
b_mat, interval = build_ls_matrix(u_knots, v_knots, terrain_data, True)
File "/home/jiri/GitHub/bapprox/src/approx/terrain.py", line 239, in build_ls_matrix
u_base_vec, i_idx = spline_base_vec(u_knots, terrain[idx, 0], 0, sparse)
File "/home/jiri/GitHub/bapprox/src/approx/terrain.py", line 132, in spline_base_vec
idx = find_index(knot_vec, t_param)
File "/home/jiri/GitHub/bapprox/src/approx/terrain.py", line 105, in find_index
if _t_param >= _knot_vec[est]:
IndexError: index -8207998 is out of bounds for axis 0 with size 15
from bapprox.
Related Issues (15)
- Implement fractures HOT 21
- Output rivers to BREP file format HOT 1
- Enable Visualization of Differences HOT 1
- SVD Method
- Visualization of differences and quad
- Method chol and sparse matrixes
- Implement own approximation of terrain HOT 25
- Create working version for Windows. HOT 1
- The biggest diference HOT 2
- Output differences to CSV file HOT 2
- Create volume object and export it to brep file HOT 10
- Add filter of SVD method in configuration file HOT 1
- Implement faster calculating of points at surface.
- Test variant of sparse matrices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bapprox.