Bugs item #3415446, was opened at 2011-09-29 15:12
Message generated for change (Tracker Item Submitted) made by tomsullivan34
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3415446&group_id=12740Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas A Sullivan (tomsullivan34)
Assigned to: Nobody/Anonymous (nobody)
Summary: Build error when comiling with VC11
Initial Comment:
1>------ Build started: Project: QuantLib, Configuration: Debug Win32 ------
1>Build started 9/29/2011 3:09:10 PM.
1>ClCompile:
1> symmetricschurdecomposition.cpp
1>ql\math\matrixutilities\symmetricschurdecomposition.cpp(123): error C2664: 'std::make_pair' : cannot convert parameter 1 from 'QuantLib::Real' to 'QuantLib::Real &&'
1> You cannot bind an lvalue to an rvalue reference
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:03.09
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I modified this code:
temp[col] = std::make_pair<Real, std::vector<Real> >(
diagonal_[col], eigenVector);
to this:
temp[col] = std::make_pair<Real, std::vector<Real> >(
(Real&&)diagonal_[col], (std::vector<Real>&&)eigenVector);
and it built ok.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3415446&group_id=12740------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev