Commit 58f81841 authored by Andreas Zilian's avatar Andreas Zilian
Browse files

Fix update of normFunction vals with segment data

parent 9f1d9cb9
...@@ -137,8 +137,7 @@ classdef MgGeoLine2Point < mgen.MgGeoLine ...@@ -137,8 +137,7 @@ classdef MgGeoLine2Point < mgen.MgGeoLine
self.gridNodes(1) = self.geoPoints(1).gnode; self.gridNodes(1) = self.geoPoints(1).gnode;
self.gridNodes(dim) = self.geoPoints(2).gnode; self.gridNodes(dim) = self.geoPoints(2).gnode;
% set function values % push segment info to norm function (relevant only power-type)
self.normFunction.vals(1) = segments;
if self.normFunction.vals(2) == 0 if self.normFunction.vals(2) == 0
self.normFunction.vals(1) = segments; self.normFunction.vals(1) = segments;
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment