Skip to content
Snippets Groups Projects
Commit b0a91750 authored by Robert K's avatar Robert K
Browse files

[bugfix][Limiter] fix mixup of discrete function spaces in case

domainSpace != rangeSpace.
parent 232de037
No related branches found
No related tags found
No related merge requests found
Pipeline #25925 passed
......@@ -126,7 +126,7 @@ namespace Fem
Limiter( const DomainSpaceType& domainSpace,
const RangeSpaceType& rangeSpace,
const double lowerBound, const double upperBound )
: Limiter( domainSpace, domainSpace, *(new ModelType( lowerBound, upperBound )) )
: Limiter( domainSpace, rangeSpace, *(new ModelType( lowerBound, upperBound )) )
{
modelPtr_.reset( &model_ );
}
......@@ -141,7 +141,7 @@ namespace Fem
, model_( model )
, discreteModel_( model_, domainSpace_.order() )
, startPass_()
, limitPass_( discreteModel_ , startPass_, domainSpace_ )
, limitPass_( discreteModel_ , startPass_, rangeSpace_ )
{
discreteModel_.setIndicator( &indicator_ );
......
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