No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
9cb2947
... +2 ...
5ecef80
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
316 | 316 | ||
317 | 317 | **Example**: |
|
318 | 318 | ||
319 | - | Load a method and try do DJ-reduce it:: |
|
319 | + | Load a method and try to DJ-reduce it:: |
|
320 | 320 | ||
321 | 321 | >>> from nodepy import rk |
|
322 | 322 | >>> merson = rk.loadRKM('Merson43') |
355 | 355 | but with everything divided by two. |
|
356 | 356 | The b_2 matrix block consists of m_1 (row) copies of b_2. |
|
357 | 357 | """ |
|
358 | - | return compose(self,RK2,1,1) |
|
358 | + | if self.A.dtype is object: |
|
359 | + | from sympy import Rational |
|
360 | + | one = Rational(1,1) |
|
361 | + | return compose(self,RK2,one,one) |
|
362 | + | else: |
|
363 | + | return compose(self,RK2,1,1) |
|
359 | 364 | ||
360 | 365 | def _check_consistency(self,tol=1.e-13): |
|
361 | 366 | assert np.max(np.abs(self.A.sum(1)-self.c))<tol,'Abscissae are inconsistent with A.' |
681 | 686 | >>> from nodepy import rk |
|
682 | 687 | >>> RK4 = rk.loadRKM('RK44') |
|
683 | 688 | >>> RK4.effective_order() |
|
689 | + | Effective order is at least 4. Higher effective order conditions not yet implemented. |
|
684 | 690 | 4 |
|
685 | 691 | ||
686 | 692 | """ |
|
687 | 693 | q=0 |
|
688 | 694 | while True: |
|
689 | - | if q==4: return q |
|
695 | + | if q==4: |
|
696 | + | print("Effective order is at least 4. Higher effective order conditions not yet implemented.") |
|
697 | + | return q |
|
690 | 698 | z=self.effective_order_condition_residuals(q+1) |
|
691 | 699 | if np.any(abs(z)>tol): return q |
|
692 | 700 | q=q+1 |
Files | Coverage |
---|---|
nodepy | -0.04% 81.37% |
Project Totals (21 files) | 81.37% |
5ecef80
f7ee421
78a272b
9cb2947