CSRT-NTUA / AlgoPlus

AlgoPlus is a C++17 library for complex data structures and algorithms
https://csrt-ntua.github.io/AlgoPlus
Apache License 2.0
141 stars 20 forks source link

Update mat_1d.h: Import vector library and fix constructor #42

Closed Shu-AFK closed 4 months ago

Shu-AFK commented 4 months ago

The vector library has been imported into 'mat_1d.h'. Moreover, the 'return *(this);' line in the constructor has been removed. This not only resolved a compilation error, but also prevents potential issues tied to invoking methods on temporary objects.

spirosmaggioros commented 4 months ago

Floyd, i close this cause i made the changes myself earlier this day. Thanks for noticing