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
self.gridNodes(1) = self.geoPoints(1).gnode;
self.gridNodes(dim) = self.geoPoints(2).gnode;
% set function values
self.normFunction.vals(1) = segments;
% push segment info to norm function (relevant only power-type)
if self.normFunction.vals(2) == 0
self.normFunction.vals(1) = segments;
Supports Markdown
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