|
From: | Marco Vassallo |
Subject: | RE: crash in mshm_refine |
Date: | Fri, 5 Jul 2013 01:29:30 +0200 |
> From: address@hidden
> Subject: crash in mshm_refine > Date: Fri, 5 Jul 2013 00:08:31 +0200 > To: address@hidden; address@hidden > > marco, > > try the following: > > m1 = msh2m_structured_mesh (0:10, 0:10, 1, 1:4); > m2 = mshm_refine (m1, 9e7) > > or this: > > m1 = msh2m_structured_mesh (0:10, 0:10, 1, 1:4); > m2 = mshm_refine (m1, 0) > > I think you should handle these cases in a more safe way … > c. > Hi, I added a new check, thanks. I'm using std::min_element or std::max_element: I don't think it is very efficient because it is a template function. There is something better inside Octave ? Marco |
[Prev in Thread] | Current Thread | [Next in Thread] |