mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-10 11:52:21 +00:00
map_array like std::map should be default constructed
svn path=/trunk/boost/libs/numeric/ublas/; revision=24887
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
int main () {
|
||||
using namespace boost::numeric::ublas;
|
||||
map_array<int, double> a (3);
|
||||
map_array<int, double> a;
|
||||
for (unsigned i = 0; i < a.size (); ++ i) {
|
||||
a [i] = i;
|
||||
std::cout << a [i] << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user