Skip to content

Commit

Permalink
Disable check for reg_order /= 0
Browse files Browse the repository at this point in the history
This check need to be more specific
  • Loading branch information
talassio authored Mar 28, 2019
1 parent 2f44c0a commit 38b3dc8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libRALFit/src/ral_nlls_internal.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3780,11 +3780,11 @@ Subroutine check_options(opt, inform)
inform%status = NLLS_ERROR_UNSUPPORTED_TYPE_METHOD
ElseIf (opt%print_level < 0 .Or. Opt%print_level > 5 ) Then
inform%status = NLLS_ERROR_PRINT_LEVEL
ElseIf (opt%model==4.And.opt%nlls_method==3.And.opt%type_of_method==2) Then
If (opt%reg_order/=2.0_wp.And.opt%reg_order>0) Then
! This specific option combination is not yet implemented!
inform%status = NLLS_ERROR_NOT_IMPLEMENTED
End If
! ElseIf (opt%model==4.And.opt%nlls_method==3.And.opt%type_of_method==2) Then
! If (opt%reg_order/=2.0_wp.And.opt%reg_order>0) Then
! This specific option combination is not yet implemented!
! inform%status = NLLS_ERROR_NOT_IMPLEMENTED
! End If
! ElseIf
! ...
End If
Expand Down

0 comments on commit 38b3dc8

Please sign in to comment.