dilevin / DGPCompFab

This repository stores the the assignments and lecture notes for the University of Toronto Graduate Course Computational Design and Fabrication
7 stars 4 forks source link

squared_edge_lengths.h: Error: Simplex size (0) not supported #12

Closed Emilyeyang closed 6 years ago

Emilyeyang commented 6 years ago

When I recompiled my file to test the gradient descent method, this showed up on my terminal, what does this mean?

squared_edge_lengths.h: Error: Simplex size (0) not supported

Also, what kind of value does std::cout in the comment line give you? Is it running time or the return value of a function?

dilevin commented 6 years ago

This means that no mesh was generated. It usually means there is a bug in your gradient descent code. When you run the code without optimization it should generate a rectangular bar.