Skip to content
Snippets Groups Projects
Commit 63ffd24c authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[operators.identity] fix factoy

parent 73329153
No related branches found
No related tags found
3 merge requests!10Draft: consolidate refactoring work,!5Work on refactor operators bindings,!1Refactor operators
......@@ -87,7 +87,8 @@ public:
const XT::Common::Parameter& param = {}) const override final
{
LOG_(debug) << "apply(source_vector.sup_norm()=" << source_vector.sup_norm()
<< ", range_vector.sup_norm()=" << range_vector.sup_norm() << ", param=" << print(param) << ")" << std::endl;
<< ", range_vector.sup_norm()=" << range_vector.sup_norm() << ", param=" << print(param) << ")"
<< std::endl;
this->assert_matching_source(source_vector);
this->assert_matching_range(range_vector);
LOG_(info) << "setting range_vector = source_vector ..." << std::endl;
......@@ -153,7 +154,7 @@ auto make_identity_operator(const SpaceInterface<GV, r, rC, F>& space,
const std::array<bool, 3>& logging_state = XT::Common::default_logger_state())
{
static_assert(XT::LA::is_matrix<MatrixType>::value, "");
return IdentityOperator<GV, r, rC, F, MatrixType>(space.grid_view(), space, space, logging_prefix, logging_state);
return IdentityOperator<GV, r, rC, F, MatrixType>(space, logging_prefix, logging_state);
}
template <class GV, size_t r, size_t rC, class F>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment