XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9
    • 1.9
    • Gradebook
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      We need a function to detect circular references whenever a calculation has been edited:

      detect_circular_reference(array) => boolean

      The array is a whole lot of calculation strings containing verified idnumber strings for all the calcualtions in a course, eg:

      C= A + B
      A = B + C
      B = C + A

      See Double Loop on this page for an algorithm: http://phrogz.net/nodes/traversingdirectedgraph.asp

            skodak Petr Skoda
            dougiamas Martin Dougiamas
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.