Re: Add squared norm convenience function
Ronald Wampler <[email protected]>
| Newsgroups | gmane.comp.lib.boost.ublas |
|---|---|
| Message-ID | <CAL3wmMOJf7E4_yL3WezZxoKsk=LcYAeTPVzcuz8rLEA4qo0jSQ@mail.gmail.com> |
Thanks for the instructions. I ran into one issue with building the test. I am on Mac OS X using clang and I get the following error when compiling "concepts.hpp" : clang: error: unknown argument: '-fabi-version=0' clang doesn't support this flag, but the jam file is adding this base on the darwin toolset. This setting was added 6 years ago so gcc would have been the default compile on Mac OS X. In order to determine an appropriate fix, for the darwin toolset is clang expected to be the default compiler now for all boost libraries? I imagine we could check if the user is compiling with darwin/gcc vs darwin/clang. Ron On Mon, Mar 7, 2016 at 3:03 PM, Nasos Iliopoulos <[email protected]> wrote: > By all means please provide a pull request at the "develop" branch. > > Take a look at these instructions: > https://github.com/uBLAS/ublas/wiki > > Remember to replace the ublas/ublas repository with your forked repository > in step 3 under "Compiling and running the unit tests:". > > -Nasos > > > > > > > On 03/07/2016 01:03 PM, Ronald Wampler wrote: >> >> Hi, >> >> I was wondering if it would be possible to add a function to calculate >> the squared norm? While it's easy to implement one's own version, >> it occurs fairly frequently (e.g., in optimization problems) that it >> would be nice to have. I would be happy to provide a patch if there is >> interest. >> >> Ron >> _______________________________________________ >> ublas mailing list >> [email protected] >> http://lists.boost.org/mailman/listinfo.cgi/ublas >> Sent to: [email protected] > > > _______________________________________________ > ublas mailing list > [email protected] > http://lists.boost.org/mailman/listinfo.cgi/ublas > Sent to: [email protected]