add triu/tril (get upper/lower triangular parts of a square matrix)
Merge branch 'develop' of github.com:ghorn/casadi into ghorn-develop
Better sparsity pattern calculation #1021
Added Matrix::setSparse #1021
tril(GenericMatrix), triu(GenericMatrix) using setSparse #1021
Fixed printing of set_sparse
Removed square restriction for tril(GenericMatrix), triu(GenericMatrix) #1021
Fixed indent, variable_tools.cpp
SXElement --> SX in variable_tools.hpp #982
Concerning #1004: compactdefault argument enabled. Almost halves the octave wrapper size
Removed square restriction for tril/triu (part 2)
#endif fix
Fixed indent, sx_node.hpp
Fixed indent, sx_node.cpp
Fixes #1006
add scale_option to snopt

really i should go through and add them all in one commit
re-enable most of -Wall, see #618
remove the WITH_BUILD_IPOPT feature

No-one is using it (even me), and I don't even know if it works. I think that using Ipopt from debian packages/homebrew is the way to go, see #1010
whitespace in snopt interface

99% deleting trailing whitespace, also removed a few newlines
delete trailing whitespace in top-level CMakeLists