Hello,
I recently updated my ngsolve installation and noticed, that something must have changed regarding the implementation of basic linear algebra in ngsolve. In a C++ add-on I wrote it used to be possible to assign to FlatVectors like this:
void SomeFunction(FlatVector<> point, const FlatVector<>& res)
{ \\some calculations with point
res = point;
}
Now this results in:
error: no match for ‘operator=’ (operand types are
‘ngbla::FlatVector’ {aka ‘const ngbla::VectorView<double, long unsigned int, std::integral_constant<int, 1> >’} and
‘ngbla::FlatVector’ {aka ‘ngbla::VectorView<double, long unsigned int, std::integral_constant<int, 1> >’})
Has anybody else had a similar problem and knows how to fix this? And what change actually caused this problem? I am grateful for any help.
Best regards,
Florian Oberender